Skip to main content

UNKNOWN

Project description

onegov.municipality

This is a Plone policy package, setting up a OneGov Box based website for municipalities.

Releases

The OneGov Box comes with a Known Good Set of packages which can be found in the release folder of this repo. There’s currently no stable release.

Stable releseas are versions without appendage like rc1 or dev. 1.0 or 1.0.1 for example.

Once a Known Good Set is released, it will not be changed anymore, so it is safe to use that set for production.

The latest.cfg in the releases folder always contains the latest pinned packages.

Development installation

You can install onegov.municipality with buildout:

git clone https://github.com/OneGov/onegov.municipality.git
cd onegov.municipality
python2.7 bootstrap.py
bin/buildout -c development.cfg

Running Plone

bin/instance fg

Minimal Buildout

The following is the minimal buildout with which you’ll get onegov.municipality to run. Essentially, it’s the minimal buildout from http://bluedynamics.com/articles/jens/plone-4.3-latest-minimal-buildout, with two lines added (as noted in the code’s comments).

[buildout]

# the second extends line is onegov.municipality specific
extends =
    http://dist.plone.org/release/4.3-latest/versions.cfg
    https://raw.githubusercontent.com/OneGov/onegov.municipality/master/release/latest.cfg

find-links +=
    http://effbot.org/downloads/

parts = instance

[versions]
zc.buildout >= 2.2.1
setuptools >= 2.2

[instance]
recipe = plone.recipe.zope2instance
http-address = 8080
user = admin:admin

# the third eggs line is onegov.municipality specific
eggs =
    Plone
    Pillow
    onegov.municipality

Using this minimal buildout you can install onegov.municipality thusly:

  1. Save the buildout above in buildout.cfg

  2. Get bootstrap:

curl https://raw.githubusercontent.com/OneGov/onegov.municipality/master/bootstrap.py > bootstrap.py
curl
  1. Run bootstrap:

python boostrap.py
  1. Run buildout

bin/buildout
  1. Run the server

bin/instance fg

6. Install onegov municipality on http://localhost:8080 using the user admin with the password admin

Tests

https://secure.travis-ci.org/OneGov/onegov.municipality.png

Run tests with:

bin/test

Changelog

1.0 (2014-09-23)

  • Integrates seantis.people.

1.0rc2 (2014-04-10)

  • Initial release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

onegov.municipality-1.0.tar.gz (265.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page