Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 1.12 KB

README.md

File metadata and controls

46 lines (29 loc) · 1.12 KB

Overview

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

Prerequiste

Start

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>

Next

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.