Commits

anatoly techtonik committed e31ba5c

start server as a last step

Comments (0)

Files changed (1)

     'Default "Trac Environment" for Development',
     'sqlite:db/trac.db'])
 else:
-  print("04. .trac/ environment already exists - exiting")
+  print("04. .trac/ environment already exists - skipping")
+
+
+print("05. starting web server at localhost:8000")
+import trac.web.standalone
+sys.argv += ['-p', '8000', '-b', 'localhost', '-s', ENVPATH]
+print sys.argv
+trac.web.standalone.main()