Texaco is an application for calculate best routes.
Texaco is built using Flask framework. There are requirement files for each environment such as development and production. The development environment contains libraries for debug and tests.
First of all, create a python virtual environment and activate it:
$ virtualenv env
$ source env/bin/activate
To install de dependences run the following commands:
Development environment
$ make requirements-dev
Production environment
$ make requirements
Also, for production, you will find configuration files for nginx, gunicorn and supervisor in contrib folder. Use it as you wish ;).
Before running it, remember to activate the virtual environment.
$ make run
Yeah, that is it.
Again, remember to activate the virtual environment.
$ make test
Right!