Skip to content

abnerpc/texaco

Repository files navigation

Texaco Build Status

Texaco is an application for calculate best routes.

Dependences

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.

Instalation

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 ;).

Running

Before running it, remember to activate the virtual environment.

$ make run

Yeah, that is it.

Running the tests

Again, remember to activate the virtual environment.

$ make test

Right!

================== python   flask