install docker
If docker is not already installed, install it.- To install manually, follow the instructions on the docker website.
- To install with a script (via curl):
$ curl -sSL https://get.docker.com/ | sh - To install with a script (via wget):
$ wget -qO- https://get.docker.com/ | sh
add your user to the docker group
Eg, something like$ sudo usermod -aG docker $USER
log out and log in again
You need to do this for the previous usermod to take effect.setup directory permissions
cyber-dojo saves the practice sessions to /cyber-dojoYou need to set the correct permissions for this directory.
The user-id for the saver service is 19663, and its group-id is 65533.
In a terminal, type:
$ sudo mkdir /cyber-dojo
$ sudo chown 19663:65533 /cyber-dojo
install the cyber-dojo shell script
In a terminal, type:$ curl -O https://raw.githubusercontent.com/cyber-dojo/commander/master/cyber-dojo
$ chmod 700 cyber-dojo
Now use this cyber-dojo script to run your own cyber-dojo server.
Jon, It is amazing how easy you have made the creation of a cyber-dojo server! Thank you, James
ReplyDelete