To create a project in a Unix-class system (e.g. Linux, Mac OS X etc.), do as the following example:
/home/epx $ tg-admin quickstart Enter project name: ajaxfin Enter package name [ajaxfin]: ajaxfin Do you need Identity (usernames/passwords) in this project? [no] Selected and implied templates: TurboGears#tgbase tg base template TurboGears#turbogears web framework ... a lot of messages ... reading manifest file 'ajaxfin.egg-info/SOURCES.txt' writing manifest file 'ajaxfin.egg-info/SOURCES.txt' /home/epx $ _
If you run Windows, follow the instructions in TurboGears site documentation.
To open the new project's pages in a browser, run the project as shown in the example:
/home/epx $ cd ajaxfin/ /home/epx/ajaxfin $ ./start-ajaxfin.py 2006-06-12 17:38:11,957 cherrypy.msg INFO CONFIG: Server parameters: 2006-06-12 17:38:11,958 cherrypy.msg INFO CONFIG: server.environment: development 2006-06-12 17:38:11,958 cherrypy.msg INFO CONFIG: server.log_to_screen: True 2006-06-12 17:38:11,958 cherrypy.msg INFO CONFIG: server.log_file: 2006-06-12 17:38:11,959 cherrypy.msg INFO CONFIG: server.log_tracebacks: True 2006-06-12 17:38:11,959 cherrypy.msg INFO CONFIG: server.log_request_headers: True 2006-06-12 17:38:11,959 cherrypy.msg INFO CONFIG: server.protocol_version: HTTP/1.0 2006-06-12 17:38:11,960 cherrypy.msg INFO CONFIG: server.socket_host: 2006-06-12 17:38:11,960 cherrypy.msg INFO CONFIG: server.socket_port: 8080 2006-06-12 17:38:11,960 cherrypy.msg INFO CONFIG: server.socket_file: 2006-06-12 17:38:11,961 cherrypy.msg INFO CONFIG: server.reverse_dns: False 2006-06-12 17:38:11,961 cherrypy.msg INFO CONFIG: server.socket_queue_size: 5 2006-06-12 17:38:11,961 cherrypy.msg INFO CONFIG: server.thread_pool: 10 2006-06-12 17:38:12,254 cherrypy.msg INFO HTTP: Serving HTTP on http://localhost:8080/ _and open http://localhost:8080 in your favorite browser to check that the service is running well.