0.2.652 • Published 6 years ago
turingarena-server v0.2.652
Turingarena
A collection of libraries and tools to create programming challenges and competitions.
Getting started
- Make sure to have (a recent version of) Node and NPM installed and in
PATH. - To install dependencies, run:
( cd server/ ; npm ci )
( cd web/ ; npm ci )- Import the example contest with:
( cd server/ ; npm run cli -- import ../examples/example-contest/ )- The
start.shscripts creates atmuxsessions with all the commands needed to develop running in parallel. Warning: can impact the use of CPU and RAM. Either use the script or inspect the scripts inweb/package.jsonandserver/package.jsonand run them individually as needed. To use the script, run:
./start.sh- TODO: running the server in production
Using Docker
You can run this application with Docker, to have a system ready to use, that you can also use on macOS or Windows.
- Build the Docker container (at this point we don't provide prebuilt ones)
docker build . -t turingarena:turingarenaIt will probably take a few minutes, so go to drink a cofee while the system build everything.
- Start the server like this
docker run --privileged -it -p 3000:3000 -v $PWD/server:/data turingarena:turingarena serveOf course change the port or the working directory (/data) as you wish. It's important to use the --privileged option,
otherwise the sandbox will not work. You may need root privileges on your system to use that.
0.2.652
6 years ago
0.2.651
6 years ago
0.2.650
6 years ago
0.2.649
6 years ago
0.2.648
6 years ago
0.2.645
6 years ago
0.2.643
6 years ago
0.2.642
6 years ago
0.2.641
6 years ago
0.2.638
6 years ago
0.2.637
6 years ago
0.2.636
6 years ago
0.2.635
6 years ago
0.2.634
6 years ago
0.2.633
6 years ago
0.2.632
6 years ago
0.1.2
6 years ago
0.1.0
6 years ago