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.git
start mongodb in a docker container:
docker run -d -name mongodb dockerfile/mongodb
start KeystoneJS app:
$ docker run -d -link mongodb:db -p 3000:3000 \
-v $(pwd):/root/keystonejs-example:rw dockerfile/nodejs \
bash /root/keystonejs-example/start.sh
Make 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
.