Skip to content

Instantly share code, notes, and snippets.

@theSage21
Created November 7, 2015 15:58
Show Gist options
  • Save theSage21/958b3c0a2f8494a7618a to your computer and use it in GitHub Desktop.
Save theSage21/958b3c0a2f8494a7618a to your computer and use it in GitHub Desktop.
Add a new openjudge interface with questions in a folder called questions.
#! /bin/bash
git clone --depth 1 https://github.com/theSage21/judge-interface
cp -r questions judge-interface/webserver/
cd judge-interface
./setup.sh
source env/bin/activate
cd webserver
cp -r questions/* ./
python upload.py
rm -r 1 2 3 4 5 6 7
rm -r questions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment