Subversion Repositories SmartDukaan

Rev

Rev 241 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 241 Rev 283
Line 3... Line 3...
3
 
3
 
4
@author: gaurav
4
@author: gaurav
5
'''
5
'''
6
from paste.script.serve import ServeCommand
6
from paste.script.serve import ServeCommand
7
from datastore.DataCodeAccessor import *
7
from datastore.DataCodeAccessor import *
-
 
8
import sys
-
 
9
import os
8
 
10
 
9
initialize_table()
11
initialize_table()
10
ServeCommand("serve").run(["development.ini"])
-
 
11
12
path = sys.argv[1]
-
 
13
ds = os.sep
-
 
14
path = path+ds+"development.ini" 
-
 
15
ServeCommand("serve").run([path])
-
 
16
12
17