Skip to content

LucyCReynolds/auacm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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

  1. Install Homebrew $ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

  2. Install git brew install git

  3. Clone the repo. (Or install git if you have not)

    git clone https://github.com/AuburnACM/AUACM.git

  4. 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

  5. Install npm with

    $ brew install npm

  6. Install Bower with

    $ npm install -g bower

  7. Install local components using Bower

    $ bower install

  8. Now you can run the server on localhost:5000 by running

    $ ./run.py

  9. Navigate to the setup folder.

  10. 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

  1. Install git

    $ sudo apt-get install git

  2. Clone the repo.

    git clone https://github.com/AuburnACM/AUACM.git

  3. Navigate to .../AUACM/setup/ and execute this to setup the environment:

    $ sh ubuntu_setup.sh

    Follow all the setup instructions.

  4. Now you can run the server on localhost:5000 by running

    $ cd ../auacm

    $ ./run.py

Need test solutions or competitions?

We've got you covered.

  1. Navigate to /setup in terminal and type

    $ chmod +x create_competition.sh

    $ ./create_competition.sh <<< "Your Mock Mock Competition Name"

  2. When prompted for your passwords, simply enter them there. If you don't have one, just press enter.

  3. Have fun with your Mock Mock Competition. All of the solitions should be located in the /testing/testSolutions folder.

About

The Auburn ACM Website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 43.3%
  • JavaScript 21.7%
  • HTML 21.4%
  • Java 9.8%
  • Shell 1.4%
  • C++ 0.8%
  • Other 1.6%