Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install dolmenproject

How to install dolmenproject

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install dolmenproject
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
1.0a3 Available View build log
1.0a2 Available View build log
Windows (64-bit)
1.0a3 Available View build log
1.0a2 Available View build log
Mac OS X (10.5+)
1.0a3 Available View build log
1.0a2 Available View build log
Linux (32-bit)
1.0a3 Available View build log
1.0a2 Available View build log
Linux (64-bit)
1.0a3 Available View build log
1.0a2 Available View build log
 
Author
License
ZPL
Dependencies
Imports
Lastest release
version 1.0a3 on Feb 20th, 2011

Script that creates a Dolmen project directory, installs Grok, the Grok Toolkit and the Zope Toolkit and sets up a complete skeleton for a new Dolmen application.

Description

dolmenproject provides an easy way to get started with a Dolmen web application. It's an extension of grokproject package.

This documentation is adapted from grokproject README.txt. And so is the most of the code :). Thanks to grokproject developers!

Simply install dolmenproject:

$ easy_install dolmenproject

If you have an old version of dolmenproject installed then you can upgrade doing:

$ easy_install -U dolmenproject

Afterwards you can run the dolmenproject script with the name of the project you'd like to create as an argument:

$ dolmenproject DruidicRitual

System Message: ERROR/3 (<string>, line 32)

Inconsistent literal block quoting.

... many lines of output here

This will not only create a project area for you to work in, it will also download and install Grok and its dependencies.

After the project area has been created successfully, you will find an empty Python package "skeleton" in the src directory in which you can place the code for your web application.

To start the application server, execute:

$ cd DruidicRitual
$ bin/paster serve parts/etc/deploy.ini

Start/stop it in daemon mode:

$ bin/daemon start/stop

There is also an Ajax enabled debugger (point your browser to http://localhost:8080/@@login.html when using this):

$ bin/paster serve parts/etc/debug.ini

To start the interactive debugger prompt:

$ bin/interactive_debugger

To run an ad-hoc Python script against a full setup application:

$ bin/interactive_debugger [name_of_python_script].py

Python scripts run this way, will have access to a root, debugger, and an app object avaible for "interacting" with the application environment.

For 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 dolmen DruidicRitual

All configuration files used for running Grok can be found in the parts/etc/ directory of your project. These configuration files are generated automatically from the templates in etc/ on each buildout run. To modify the configuration files edit the approriate templates in etc/ and rerun buildout afterwards:

$ bin/buildout

This will rebuild the files in parts/etc/.

Changes

1.0a3 (2011-02-19)
  • Compatible with grokproject 2.5.
  • Now search latest Dolmen version at

System Message: WARNING/2 (<string>, line 91)

Bullet list ends without a blank line; unexpected unindent.

http://www.dolmen-project.org/kgs/current

1.0a2 (2011-01-11)
  • Include .zcml_tmpl files in the release.
  • Define "sources-dir = dev" in generated sources.cfg.
1.0a1 (2011-01-11)
  • Initial version, based on grokproject 2.3.

Subscribe to package updates

Last updated Feb 20th, 2011

Download Stats

Last month:2

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.