Created
January 27, 2017 20:01
-
-
Save bloodbare/43185db90469bbe4861026a28bc8b4fe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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