Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
l-vincent-l committed Aug 24, 2015
1 parent 8e76b64 commit 38a1800
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ API and Backoffice for taxis' operators and local authorities.
* `Pip`
* `Postgresql` and `postgresql-dev` (other databases might work)
* `libspatialindex-dev`
* `Rabbit-MQ` or `redis`: To queue asynchronous tasks
* `InfluxDB`: To store views of the taxis activity

We also recommend the use of `virtualenv`

Expand All @@ -25,6 +27,10 @@ edited accordingly (SQLALCHEMY_DATABASE_URI field) and renamed `dev_settings.py`
In order to populate the database with the tables and default data, run:
`APITAXI_CONFIG_FILE=APITaxi/dev_settings.py PYTHON_PATH=. manage.py db upgrade head`

### Initialize the InfluxDB database ###
To initialize this database you need to run this command:
`APITAXI_CONFIG_FILE=APITaxi/dev_settings.py PYTHON_PATH=. manage.py create_influx_db

### Add an administrator ###
Just run this command
`APITAXI_CONFIG_FILE=APITaxi/dev_settings.py PYTHON_PATH=. manage.py create_admin your_email@your_domain.com`
Expand Down

0 comments on commit 38a1800

Please sign in to comment.