grokproject

Script that sets up a grok project directory, installs Zope 3 and grok and creates a template for a grok application.
Download

grokproject Ranking & Summary

Advertisement

  • Rating:
  • License:
  • ZPL
  • Price:
  • FREE
  • Publisher Name:
  • The Grok Team

grokproject Tags


grokproject Description

Script that sets up a grok project directory, installs Zope 3 and grok and creates a template for a grok application. grokproject is a Python module which provides an easy way to get started with a Grok web application. Simply install grokproject:$ easy_install grokprojectand run the grokproject script with the name of the project you'd like to create as an argument:$ grokproject MammothHerd... many lines of output hereThis will not only create a project area for you to work in, it will also download and install Grok and Zope 3 (the application server Grok is built on).After the project area has been created successfully, you will find an empty Python package in the src directory in which you can place the code for your web application.To start the application server, execute:$ cd MammothHerd$ bin/paster serve etc/deploy.iniThere is also an Ajax enabled debugger (point your browser to http://localhost:8080/@@login.html when using this):$ bin/paster serve etc/debug.iniStart/stop it in daemon mode:$ bin/mammothherd-ctl start$ bin/mammothherd-ctl stopStart the debugger:$ bin/mammothherd-debugFor those who know paster: grokproject is just a wrapper around a paster template. So instead of running the grokproject command, you can also run:$ paster create -t grok MammotHerdTo create a project with the previous zopectl layout run the grokproject script like:$ grokproject --zopectl MammothHerdor:$ paster create -t grok MammothHerd zopectl=True Requirements: · Python What's New in This Release: · The debug.ini file now by default configures the Unuathorized exception to not to be reraised. · This will make sure Zope's authentication mechanism keep working when using the z3c.evalexception middleware.


grokproject Related Software