1
0
Fork 0

Move shell scripts to Ansible

merge-requests/142/head
Nikos Roussos 2015-07-21 11:41:16 +03:00
parent f5476b9dc1
commit 83e97884ea
1 changed files with 0 additions and 23 deletions

View File

@ -1,23 +0,0 @@
#!/bin/bash
# Change to script directory
cd "$(dirname "$0")"
# Activate virtualenv
echo "========================="
echo "== Activate Virtualenv =="
echo "========================="
#. $VENV_PATH/bin/activate
. ../../venv/bin/activate
echo "done"
# Run update commands
cd ..
echo "============================"
echo "== Fetch data from DB API =="
echo "============================"
python manage.py fetch_data
echo "=========================="
echo "== Fetch data from TLEs =="
echo "=========================="
python manage.py update_all_tle