#AUACM
Welcome to the Auburn ACM programming competition source code.
You're probably wondering how to set up your environment, so here we go:
##Mac
-
Install Homebrew
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-
Install git
brew install git
-
Clone the repo. (Or install git if you have not)
git clone https://github.com/AuburnACM/AUACM.git
-
Navigate to
/../auacm/auacm/
and set up your virtual environment. Do this by executing the following commands:$ pip install virtualenv
$ virtualenv flask
$ CFLAGS='-std=c99' ./flask/bin/pip install -r requirements.txt
-
Install npm with
$ brew install npm
-
Install Bower with
$ npm install -g bower
-
Install local components using Bower
$ bower install
-
Now you can run the server on
localhost:5000
by running$ ./run.py
-
Navigate to the setup folder.
-
Copy data.zip to auacm/app/data.zip and extract the contents there. You should now have two folders inside auacm/app/data/, problems and submits.
##Ubuntu
-
Install git
$ sudo apt-get install git
-
Clone the repo.
git clone https://github.com/AuburnACM/AUACM.git
-
Navigate to
.../AUACM/setup/
and execute this to setup the environment:$ sh ubuntu_setup.sh
Follow all the setup instructions.
-
Now you can run the server on localhost:5000 by running
$ cd ../auacm
$ ./run.py
-
Navigate to /setup in terminal and type
$ chmod +x create_competition.sh
$ ./create_competition.sh <<< "Your Mock Mock Competition Name"
-
When prompted for your passwords, simply enter them there. If you don't have one, just press enter.
-
Have fun with your Mock Mock Competition. All of the solitions should be located in the /testing/testSolutions folder.