Get the latest git version:
git clone https://github.com/xavics/DLP
Install dependencies:
apt-get install cutycapt
apt-get install nodejs-legacy npm
npm install -g bower
apt-get install python-pip redis-server
pip install -r requirements.txt
For install the next dependencies you will need two API keys. More info
export WEATHER_API_KEY=<API_KEY>
export MAPS_API_KEY=<API_KEY>
python manage.py bower install
python manage.py collectstatic
run script in folder galaxy_files
cd galaxy_files
bash copy_files.sh <galaxy_ip>
Get maps api key from Google developers Get weather api key from Openweathermap
export MAPS_API_KEY=<API_KEY>
export WEATHER_API_KEY=<API_KEY>
./rundlp <galaxy_ip> <server_ip>
or
python manage.py rundlp <galaxy_ip> <server_ip>
It will create 5 terminals: Redis Server, Worker1, Worker2, CeleryBeat, Django Server.
rundlp
will create exitdlp
in the root of the project.
bash exitdlp