$ git clone https://github.com/marcromeyn/ottomen.git
$ cd ottomen
$ docker-compose build
$ docker-compose up -d
$ docker-compose run web python manage.py db upgrade
$ docker-compose run web python manage.py db seed
$ docker-compose up
Management commands can be listed with the following command:
$ python manage.py
These can sometimes be useful to manipulate data while debugging in the browser.
To create a database migration, run the following command:
$ python manage.py db migrate
Then run the upgrade command
$ python manage.py db upgrade
To run the tests use the following command:
$ nosetests