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 is used to create a Plone site when Zope is started (just before the Ready to handle requests
sentence).
You can use environment variables to create the Plone site and choose which packages you would like to install. See "Environment variables".
You can also expand your Plone site by starting automaticaly all pending upgrade steps when database opened.
The goal is to create the Plone site when you deploy a new Plone in A8EA a containerized environment. We think it's easier to create the Plone site on start-up, without an entrypoint or extra commands. It's simpler in a containerized environment than starting a buildout part to create a Plone site.
Fun fact:
This package is now called collective.big.bang
instead of the original collective.bigbang
, because the name collective.bigbang
was rejected by PyPI.
You can add environment variables into your buildout under the instance
part using 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
ACTIVE_BIGBANG_EXPANSION True
Or use tools like direnv
(example .envrc
file):
export PLONE_EXTENSION_IDS=plone.app.caching:default,plonetheme.barceloneta:default
export DEFAULT_LANGUAGE=fr
export ADMIN_PASSWORD=mysuperpa$$w0rd
export ACTIVE_BIGBANG=True
export ACTIVE_BIGBANG_EXPANSION=True
A list of GenericSetup profiles to install.
Default: plone.app.caching:default,plonetheme.barceloneta:default
The default language of the Plone site.
Default: en
The password for the Zope "admin" user. Note: No default. If not set, the admin password will not be updated.
Create a Plone site on this instance.
Used to avoid conflict errors; should be True
on only one instance.
Default: False
Expansion of the Plone universe, it run all pending upgrades.
Used to avoid conflict errors; should be True
on only one instance.
Default: False
- Creates Plone site when Zope is started.
- Run all pending upgrade steps when database is open.
Install collective.big.bang
by adding it to your buildout
:
[buildout]
...
eggs +=
collective.big.bang
...
[instance]
...
environment-vars =
PLONE_EXTENSION_IDS plone.app.caching:default,plonetheme.barceloneta:default
DEFAULT_LANGUAGE fr
ADMIN_PASSWORD mysuperpa$$w0rd
ACTIVE_BIGBANG True
ACTIVE_BIGBANG_EXPANSION True
Then run:
bin/buildout
If you're having issues, please let us know by opening an issue.
The project is licensed under the GPLv2.