lots of updates :/
This commit is contained in:
22
events/scrapers/scripts/run_media_update.sh
Normal file
22
events/scrapers/scripts/run_media_update.sh
Normal file
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
|
||||
ENVDIR=/var/www/digisnaxx.ado/
|
||||
DJANGODIR=/var/www/digisnaxx.ado/api.digisnaxx/events
|
||||
EVENTDIR=/var/www/digisnaxx.ado/api.digisnaxx/events/scrapers
|
||||
WORKMEDIADIR=/var/www/digisnaxx.ado/api.digisnaxx/events/scrapers/Working/smedia
|
||||
|
||||
# ENVDIR=/home/canin/Downloads/DigiSnaxxEvents
|
||||
# DJANGODIR=/home/canin/Documents/repos/digisnaxx/events
|
||||
# WORKMEDIADIR=/home/canin/Documents/repos/digisnaxx/events/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