/SpeedCode

Primary LanguageVueGNU Affero General Public License v3.0AGPL-3.0

SpeedCode

Introduce

SpeedCode 是一个在线,面对竞赛选手的单文件 ide

Installation

  1. Download docker and docker-compose
  2. Open your shell and execute command:
# Download judge0
# Also you can change judge0's version
# But be careful, maybe some different version's language id is different
# Judge0's GitHub: https://github.com/judge0/judge0
wget https://github.com/judge0/judge0/releases/download/v1.13.0/judge0-v1.13.0.zip
unzip judge0-v1.13.0.zip

# Setup judge0
cd judge0-v1.13.0
docker-compose up -d db redis
docker-compose up -d
  1. Download SpeedCode source code from GitHub / Gitee
  2. Open your shell and execute command to install:
cd path/to/speedcode
docker-compose up -d
  1. Look Backend subproject's README.md to learn how to configure backend project.
  2. After configure, please use docker-compose up -d restart project!

Update

  1. Pull the source code from origin
git pull
  1. Using docker-compose up image
docker-compose up -d