Skip to content

shawnzhu/keystonejs-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

KeystoneJS hello world application inside docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published