This is example CMS app for keystone.js.
Differences from Jed's keystone demo app:
- start demo inside docker containers to get started quicker (and make README file shorter).
- use popular mustache as template engine
- docker installed. See Docker installation
clone this example app:
$ git clone https://github.com/shawnzhu/keystonejs-example.gitstart mongodb in a docker container:
docker run -d -name mongodb dockerfile/mongodbstart KeystoneJS app:
$ docker run -d -link mongodb:db -p 3000:3000 \
-v $(pwd):/root/keystonejs-example:rw dockerfile/nodejs \
bash /root/keystonejs-example/start.shMake sure the app is started by checking logs:
$ docker logs <keystone-container-id>Visit http://localhost:3000 and you will see Hello World.
Sign in http://localhost:3000/keystone with demo admin account [email protected] and password demo.