summaryrefslogtreecommitdiff
path: root/app/cron/full_build.py
blob: e52d00564dfbbb3c50b1f7c2419e9515a3ac2c84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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()