Sign inSign up

josmas/coderdojo-local-zen

By josmas

•Updated almost 11 years ago

Personal container for the Coder Dojo Zen platform https://github.com/CoderDojo/cp-local-development

Image
0

960

josmas/coderdojo-local-zen repository overview

⁠Intro

This is mostly a personal install of the Zen platform⁠.

⁠Contents:

  • PostgreSQL (no pgAdmin)
  • nvm with a default install of node 0.12.x (no sudo needed).
  • Other tools needed for Zen and basics such as git or vim.

⁠Usage

⁠Running the container

I use the following script:

docker run -ti --rm \
  --name zen \
  -p 8000:8000 \
  -p 4567:4567 \
  -p 5432:5432 \
  -v /Users/jos/development/nodejs/cp-local-development:/home/jos/code \
  josmas/coderdojo-local-zen /bin/bash

Adjust paths to suit your needs.

Note that the container will start a bash session as root. There is a jos user that I use (feel free to create your own). All users will have access to sudo. This container is only intended for development purposes.

You can change jos's password with #> passwd jos and following the prompts.

⁠Run postgreSQL

The database already contains test data, but you will need to start it up with: (sudo) /etc/init.d/postgresql start

⁠Run Zen

Follow the instructions at Code setup⁠. Note that the sources for Zen should be on your local machine, and you will need to run init and run as explained in the link above.

⁠Making changes to the container

If you make changes to the container, you will have to use commit to keep them locally. If there are major changes that you'd like to push upstream to me, let me know. Note that I created the container manually and not with a Dockerfile, but that can be changed.

Tag summary

Content type

Image

Digest

sha256:6385291d6…

Size

483.3 MB

Last updated

almost 11 years ago

docker pull josmas/coderdojo-local-zen