These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Note: This is the WebService part of the Controk system and may have some features faked for demonstrative purposes. Click here for the fully working system.
These instructions will build the environment to run commands on the project.
Assuming you already have virtualenv and Python v3.5 installed and have little idea of how to use them.
virtualenv -p /path/to/python3.5 venv
;source venv/bin/activate
.
Assuming you have docker compose installed (along with Docker).
docker-compose build
- Create
.env
file, based on.env.example
, and set your environment as you wish; source venv/bin/activate
;python manage.py runserver
.
The server must be running at [http://localhost:8000/].
- The next command will give you a running server. Needing anything specific, change in
docker-compose.yml
; docker-compose up
.
- Create a ".env" file base on ".env.example" in the project's root;
- Run
pip install -r requirements.txt
; - Run
python manage.py test
.
- Open the
docker-compose.yml
file with your favorite text editor and change thewebservice
service command topython manage.py test
; docker-compose up
.
Clone the project:
git clone https://github.com/controk-sys/http-server .
Build the project with docker compose:
docker-compose build
Raise the project:
docker-compose up
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Jourdan Rodrigues - Initial work - Jourdan Rodrigues
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details