Personal container for the Coder Dojo Zen platform https://github.com/CoderDojo/cp-local-development
960
This is mostly a personal install of the Zen platform.
sudo needed).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.
The database already contains test data, but you will need to start it up with:
(sudo) /etc/init.d/postgresql start
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.
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.
Content type
Image
Digest
sha256:6385291d6…
Size
483.3 MB
Last updated
almost 11 years ago
docker pull josmas/coderdojo-local-zen