home repo for the cyber-dojo organization
Follow these instructions
Follow these instructions
to install the cyber-dojo
bash script and to prepare your server.
$ cyber-dojo up
...
$ cyber-dojo version
Version: 0.1.19
Type: public
...
This is exploratory only and may be dropped without notice.
Follow these instructions
to install the cyber-dojo
bash script and to prepare your server.
$ export CYBER_DOJO_SWARM=true
$ cyber-dojo up
$ cyber-dojo version
Version: 0.1.23
Type: public
From 0.1.50 onwards:
$ cyber-dojo version ls
0.1.49 2019-11-21 21:31:09 +0000 UTC
0.1.48 2019-11-20 12:52:04 +0000 UTC
...
0.1.21 2019-08-07 11:51:48 +0000 UTC
...
$ cyber-dojo update latest
$ cyber-dojo version
Version: 0.1.49
Type: public
...
# Now make it live...
$ cyber-dojo up
Using version=0.1.49 (public)
...
$ cyber-dojo update 0.1.21
$ cyber-dojo version
Version: 0.1.21
Type: public
...
# Now make it live...
$ cyber-dojo up
Using version=0.1.21 (public)
...
By default your cyber-dojo server will be on port 80.
--port
. Eg
$ cyber-dojo up --port=8000
...
Using port=8000
...
cyber-dojo up
command uses three default start-point images (tagged appropriately)
cyber-dojo start-point create --help
cyber-dojo up --help
$ export CYBER_DOJO_NGINX_IMAGE=cucumber/nginx
$ export CYBER_DOJO_NGINX_TAG=efd7e37
$ cyber-dojo up ...
...
Using nginx=cucumber/nginx:efd7e37
...
$ export CYBER_DOJO_WEB_IMAGE=turtlesec/web
$ export CYBER_DOJO_WEB_TAG=84d6d0e
$ cyber-dojo up ...
...
Using web=turtlesec/web:84d6d0e
...
web
and nginx
services.$ export CYBER_DOJO_NGINX_ENV=/home/fred/my_nginx.env
$ export CYBER_DOJO_WEB_ENV=/home/fred/my_web.env
$ cyber-dojo up
...
Using nginx.env=/home/fred/my_nginx.env (custom)
Using web.env=/home/fred/my_web.env (custom)
...
From 0.1.131 onwards, when an exercise starts a welcome dialog displays
traffic-light information. You can turn off this dialog with
the following web.env
entry:
STARTING_INFO_DIALOG=off
From 0.1.137 onwards, there is an experimental REPL service for Python.
You can turn this on with the following web.env
entry:
REPL=on
From 0.1.291 onwards, you can turn off the review page's [fork] button
with the following web.env
entry:
FORK_BUTTON=off
From 0.1.319 onwards, you can turn off the [dashboard] button from the
info toolbar with the following web.env
entry:
DASHBOARD_BUTTON=off
From 0.1.320 onwards, you can turn off traffic-light prediction with the
following web.env
entry:
PREDICT=off
Each repo in the github cyber-dojo organization builds a single docker image.
The main Amazon ECS backed https://cyber-dojo.org uses:
[stdout,stderr,status,timed_out,colour]
.Locally running servers also use: