Skip to content

Instantly share code, notes, and snippets.

@bloodbare
Created January 27, 2017 20:01
Show Gist options
  • Save bloodbare/43185db90469bbe4861026a28bc8b4fe to your computer and use it in GitHub Desktop.
Save bloodbare/43185db90469bbe4861026a28bc8b4fe to your computer and use it in GitHub Desktop.
docker run -e POSTGRES_PASSWORD=secret -e POSTGRES_USER=zodb -e POSTGRES_DB=zodb -p 5432:5432 postgres
git clone [email protected]:plone/plone.server.git
cd plone.server
python3.6 bootstrap.py
./bin/buildout -v buildout-newt.cfg
./bin/pserver -c config-newt.json
You can create your first Site on a newt DB :
curl -X POST -H "Accept: application/json" --user root:root -H "Content-Type: application/json" -d '{
"@type": "Site",
"title": "Plone 1",
"id": "plone",
"description": "Description"
}' "http://127.0.0.1:8080/newt0/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment