Skip to main content

Add-on which create Plone site into Zope

Project description

Latest Version Egg Status https://img.shields.io/pypi/pyversions/collective.bigbang.svg?style=plastic:alt:Supported-PythonVersions License

collective.bigbang

Our whole universe was in a hot, dense state
Then nearly fourteen billion years ago expansion started, wait
The earth began to cool, the autotrophs began to drool
Neanderthals developed tools
We built a wall (we built the pyramids)
Math, science, history, unraveling the mysteries
That all started with the big bang! Hey!

So all started with the Plone site! Hey! This package it used to create Plone site when Zope is started (just before Ready to handle requests sentence).

You can use environment variables to create Plone site and choose package you would like to install. See “Environment variables”

Why not use collective.recipe.plonesite? The goal is to create Plone site when you deploy a new Plone on a contenerized env. We think it’s easy to create Plone site when you start it without entrypoint or without using and other command. It’s more simple in a contenerized environment that starting a buildout part to create a Pone site.

Environment variables

You can add environment variable into your buildout in instance part with “environment-vars”:

...
[instance]
...
environment-vars =
    PLONE_EXTENSION_IDS plone.app.caching:default,plonetheme.barceloneta:default
    DEFAULT_LANGUAGE fr
    ADMIN_PASSWORD mysuperpa$$w0rd
    ACTIVE_BIGBANG True
...

Or you can also use tools like direnv (.envrc file example):

export PLONE_EXTENSION_IDS=plone.app.caching:default,plonetheme.barceloneta:default
export DEFAULT_LANGUAGE=fr
export ADMIN_PASSWORD=mysuperpa$$w0rd
export ACTIVE_BIGBANG=True
PLONE_EXTENSION_IDS

A list of GenericSetup profiles to install. Default values are plone.app.caching:default,plonetheme.barceloneta:default

DEFAULT_LANGUAGE

The default language of the Plone site. Default value is en

ADMIN_PASSWORD

The password for the zope “admin” user. Default value is admin

ACTIVE_BIGBANG

Create a Plone site on this instance. This variable is used to avoid conflict error, this variable should be set to True to only one instance Default value is False

Features

  • Create Plone site when Zope is started

Installation

Install collective.bigbang by adding it to your buildout:

[buildout]

...

eggs +=
    collective.bigbang

...

[instance]
...
environment-vars =
    PLONE_EXTENSION_IDS plone.app.caching:default,plonetheme.barceloneta:default
    DEFAULT_LANGUAGE fr
    ADMIN_PASSWORD mysuperpa$$w0rd
    ACTIVE_BIGBANG True

and then running bin/buildout

Contribute

Support

If you are having issues, please let us know. We have a mailing list located at: devs@imio.be

License

The project is licensed under the GPLv2.

Contributors

Changelog

1.0a1 (2021-08-13)

  • Initial release. [bsuttor]

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

collective.big.bang-1.0a1.tar.gz (13.6 kB view details)

Uploaded Source

File details

Details for the file collective.big.bang-1.0a1.tar.gz.

File metadata

  • Download URL: collective.big.bang-1.0a1.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.5

File hashes

Hashes for collective.big.bang-1.0a1.tar.gz
Algorithm Hash digest
SHA256 bbe0ed177089361ec3df7c8acd44fdb5fb98591d45e64c815fa722d6daa03041
MD5 a62a00bc9c76dcdcc1ce414aad98719d
BLAKE2b-256 1f16f4dbe315ccfe5ebf04adc4e574d2cd7d21f8eab09173db90cfbac61a4f36

See more details on using hashes here.

Supported by

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