first commit
This commit is contained in:
21
event_scrapers/run_media_update.sh
Normal file
21
event_scrapers/run_media_update.sh
Normal file
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
# BASEDIR=/var/www/digisnaxx.com/
|
||||
# DJANGODIR=/var/www/digisnaxx.com/ds_events
|
||||
# EVENTDIR=/var/www/digisnaxx.com/ds_events/event_scrapers
|
||||
|
||||
ENVDIR=/home/canin/Downloads/DigiSnaxxEvents
|
||||
DJANGODIR=/home/canin/Documents/repos/digisnaxx/ds_events
|
||||
WORKMEDIADIR=/home/canin/Documents/repos/digisnaxx/ds_events/event_scrapers/Working/smedia
|
||||
|
||||
cd $ENVDIR
|
||||
pwd
|
||||
source venv/bin/activate
|
||||
|
||||
cd $WORKMEDIADIR
|
||||
|
||||
python bluesky.py
|
||||
python bluesky_media.py
|
||||
python redsky.py
|
||||
|
||||
deactivate
|
||||
Reference in New Issue
Block a user