From efb623af0bcb47d510501c282e1326b11343a29c Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sat, 22 Sep 2012 22:27:04 -0400 Subject: site reorg --- app/cron/full_build.py | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 app/cron/full_build.py (limited to 'app/cron/full_build.py') diff --git a/app/cron/full_build.py b/app/cron/full_build.py new file mode 100644 index 0000000..e52d005 --- /dev/null +++ b/app/cron/full_build.py @@ -0,0 +1,33 @@ +import sys, os +from os.path import dirname, abspath + +PROJECT_ROOT = abspath(dirname(dirname(__file__))) + +sys.path.append(PROJECT_ROOT) +sys.path.append(PROJECT_ROOT+'/apps') +sys.path.append(PROJECT_ROOT+'/lib') +sys.path.append('/home/luxagraf/webapps/django1_3/lib/python2.7/') +os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' + +from build.base import BuildWriting,BuildMap,BuildPhotos,BuildAbout,BuildProjects,BuildSitemap,BuildContact + +b = BuildWriting() +b.build() + +b = BuildPhotos() +b.build() + +b = BuildMap() +b.build() + +b = BuildAbout() +b.build() + +b = BuildProjects() +b.build() + +b = BuildSitemap() +b.build() + +b = BuildContact() +b.build() \ No newline at end of file -- cgit v1.2.3-70-g09d2