summaryrefslogtreecommitdiff
path: root/app/cron/full_build.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2012-09-22 22:27:04 -0400
committerluxagraf <sng@luxagraf.net>2012-09-22 22:27:04 -0400
commitefb623af0bcb47d510501c282e1326b11343a29c (patch)
tree3a35fb19f5eba3b219c65277a5fb712cbe9604ac /app/cron/full_build.py
parent0b481fd7931c2ae20ca21f89a87f2ba6a6c01e10 (diff)
site reorg
Diffstat (limited to 'app/cron/full_build.py')
-rw-r--r--app/cron/full_build.py33
1 files changed, 33 insertions, 0 deletions
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