8000 GitHub - Wshaoqing/cyber-dojo: home repo for cyber-dojo
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Wshaoqing/cyber-dojo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hi. Welcome to cyber-dojo :-)


Services

Each repo in the github cyber-dojo organization builds a single docker image.

  • CircleCI commander - receives commands from the cyber-dojo shell script
  • CircleCI custom - serves the custom start-points
  • CircleCI differ - diffs two sets of files
  • CircleCI exercises - serves the exercises start-points
  • CircleCI grafana - displays monitoring data
  • CircleCI languages - serves the languages start-points
  • CircleCI mapper - maps session ids ported from old architecture (storer) to new architecture (saver)
  • CircleCI nginx - web-proxy, security, and images (png) cache
  • CircleCI prometheus - stores monitoring data
  • CircleCI ragger - determines the traffic-light colour of runner's [stdout,stderr,status] as red-amber-green
  • CircleCI runner - runs the tests and returns [stdout,stderr,status,timed_out]
  • CircleCI saver - saves groups/katas and code/test files in a host dir volume-mounted to /cyber-dojo
  • CircleCI versioner - holds sets of image tags comprising specific cyber-dojo versions
  • CircleCI web - rails web-server
  • CircleCI zipper - creates tgz files for download

Image dependencies

Image Dependency Graph


Domain model

Domain model


Building your own cyber-dojo server from source

Ensure docker is installed. If you are on a Windows/Mac note that these instructions specify to install DockerToolbox (and not Docker for Windows/Mac).

To get all the source:

mkdir src
cd src
git clone https://github.com/cyber-dojo/cyber-dojo.git
./cyber-dojo/sh/git-clone-all.sh
cd ..

This will create the following directory structure (each directory holds a git repo):

src/commander
src/custom
src/cyber-dojo
src/differ
src/exercises
src/grafana
src/languages
src/mapper
src/nginx
src/prometheus
src/ragger
src/runner
src/saver
src/web
src/zipper

To build your server from these repos:

src/cyber-dojo/sh/build-all.sh

To bring up your server:

src/commander/cyber-dojo start-point up

To bring down your server:

src/commander/cyber-dojo down

cyber-dojo.org home page

About

home repo for cyber-dojo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%
0