BlueBream

Script to setup a Zope project directory
Download

BlueBream Ranking & Summary

Advertisement

  • Rating:
  • License:
  • ZPL
  • Price:
  • FREE
  • Publisher Name:
  • Baiju Muthukadan
  • Publisher web site:
  • https://launchpad.net/~baijum

BlueBream Tags


BlueBream Description

Script to setup a Zope project directory BlueBream is a Python script that makes it easy to setup a new project using Zope packages. It generates a project directory from a template called bluebream. The template is created using PasteScript by Ian Bicking.Installation:To create a new project, first you need to install BlueBream:easy_install bluebreamNoteAccess to PyPI is required to perform the installation and bootstrapping process.Once BlueBream is installed, run paster command to create the project directory. The create sub-command provided by paster will show a wizard to create the project directory.paster create -t bluebreamYou need to provide the project name and namespace package name. The project name will be used as the egg name.The project name can be give given as a command line argument:paster create -t bluebream sampleprojectThe name of namespace package also can be given from the command line:paster create -t bluebream sampleproject namespace_package=mycompanyUsage:The generated package include Buildout's bootstrap.py script and configuration file. First you need to bootstrap the buildout:cd sampleprojectpython2.6 bootstrap.pyAfter bootstrap, run the buildout:./bin/buidoutTo run test cases:./bin/testTo run the server:./bin/paster serve debug.iniFor testing purpose, you can access the "hello" view registered here: http://localhost:8080/@hello Here are some key features of "BlueBream": · Generated project package includes ZTK with few additional packages which was part of "Zope 3". · Runnable Buildout · Functional testing enabled by default using z3c.testsetup · Use PasteDeploy · Create a namespace package by default. Requirements: · Zope · Python What's New in This Release: LP #506879: debug shell added. Basic usage: · ./bin/paster shell debug.ini


BlueBream Related Software