Skip to content

Commit

Permalink
Shell script to update the feeds. Can be run from the prompt or via c…
Browse files Browse the repository at this point in the history
…ron. SITE_DIR must be set to the location of the site directory
  • Loading branch information
g-sherman committed Jan 27, 2011
1 parent c080792 commit c513fef
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions update_planet.sh
@@ -0,0 +1,9 @@
# Run feedjack_update.py to update the planet postings
SITE_DIR=/home/web/qgis-django
source $SITE_DIR/python/bin/activate
# set up the environment
export PYTHONPATH=$SITE_DIR:$SITE_DIR/qgis
export DJANGO_SETTINGS_MODULE=qgis.settings
# update the feeds
feedjack_update.py

0 comments on commit c513fef

Please sign in to comment.