Setup and configuration

« Return to page index

TutorialPages, Files and Images of CommuneCouncilsManagement Setup and configuration.

Easy install with CommuneCouncilsManagement buildout

The CommuneCouncilsManagement buildout is a script to automatically install Zope, Plone and all the add-on products you need to get a CommuneCouncilsManagement site up and running. Below are instructions for running the CommuneCouncilsManagement buildout.

 

1. Check out the latest CommuneCouncilsManagement buildout

You will need to have a subversion client installed on your computer. You will need to have a subversion client installed on your computer. For Windows, there is TortoiseSVN and for MacOSX, you can grab the Universal Subversion Installer. On Linux, use your package management tool to search for "subversion" and install the client. More info about downloading subversion is here.

$ svn co http://svn.plone.org/svn/collective/CommuneCouncilsManagement/buildout/trunk/ CCM.buildout

 2. Run the bootstrap script

$ cd CCM.buildout
$ python bootstrap.py

Please note that you must use a Python that is version 2.4.2 or higher (2.4.x).

3. Run the buildout script

$ bin/buildout -vN

(this will take awhile, so go get a coffee)

It should gracefully start up the instance and shut it down (by itself).

4. Start up Zope in the foreground

To test that the buildout was successfully installed, you should issue this command and pay attention to the log.

$ bin/instance fg

This will start up Zope and if there are no errors, you should see the line:

2007-08-19 09:10:14 INFO Zope Ready to handle requests

5. Starting and stopping Plone

To stop the Zope server, just hit CTRL-C in the terminal.

To start up Plone as a daemon, so you can start and stop it from the Zope control panel, use the following command:

$ bin/instance start

Or to stop the Zope instance use:

$ bin/instance stop

6. View and manage your CommuneCouncilsManagement site


View your CommuneCouncilsManagement site
Fire up your web browser and go to the URL:

http://localhost:8080/ccm/

Manage your CommuneCouncilsManagement site

http://localhost:8080/ccm/login_form

Login using the following credentials.

username: admin
password: admin