www.elitetraderoutes.com
The following setup is for Linux / Windows. Installation scripts are available for linux only. All commands should be run in the directory where manage.py is located.
sudo bash linux_setup.sh
pip install -r requirements.txt
Create an user and a database for the user using the settings found in my.cnf file using the following command:
bash database_setup.sh
Open mysql terminal as root@localhost:
CREATE DATABASE elitetraderoutes CHARACTER SET utf8;
GRANT ALL PRIVILEGES ON \*.\* TO 'elitetraderoutes'@'localhost' IDENTIFIED BY 'elitetraderoutespassword';
bash project_setup.sh
python manage.py migrate
python manage.py test
python ingest_data.py
python manage.py loaddata commodity system station
You should also create a super user for testing purposes using manage.py
python manage.py createsuperuser
Start the connection to EDDN:
python -m eddn.receiver
Licensed under the MIT license.
Copyright © 2015, Jingyu Yao. All rights reserved.