If you are using Docker, start here
- Python >= 3 and
pip - Node.js >= 6 and
npm- it's highly recommended install with
nvm
- it's highly recommended install with
Create and activate a virtualenv
$ sudo pip install virtualenv # if not installed
$ virtualenv env -p python3
$ source env/bin/activateInstall the required packages
$ pip install -r requirements-sqlite.txt
$ npm install$ cp .env.example .envGenerate a new APP_KEY
$ python generate_key.pyCopy and paste at APP_KEY in .env file
$ python manage.py create_db$ npm run buildYou can download a .zip with all current supported datasets.
Feel free to try another dataset.
$ ./deploy
$ docker-compose upSo access the application at the address http://localhost:8000/
$ python manage.py runserverSo access the application at the address http://localhost:5000/
Want to specify a different port?
$ python manage.py runserver -h 0.0.0.0 -p 8080
Without coverage:
$ python manage.py testWith coverage:
$ python manage.py cov