Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 1.15 KB

README.md

File metadata and controls

18 lines (15 loc) · 1.15 KB

CMIMC Online

A website for the CMIMC Programming Competition and CMIMC 2021, which will be held online.

Setup Instructions (now with Docker!)

  1. Make sure you have Python (and pip) installed on your computer.
  2. Install Docker.
  3. Clone this repository: git clone https://github.com/CMU-Math/cmimc-online.git. The rest of the commands should be run within the newly created folder.
  4. Run docker-compose up --detach. A local version of the site should be running on [http://127.0.0.1:8000/](http://127.0.0.1:8000/

Create Superuser

  1. Go into cmimc-online container shell via docker exec -it <mycontainer> bash.
  2. Create superuser via python3 manage.py createsuperuser.
  3. You should now be able to login as this user.

Contributing Code

  1. On the Trello page, add yourself to any projects you want to work on
  2. Each project should have its own branch. Either create a new branch with git checkout -b new-branch-name or pull from an existing remote branch.
  3. Once the changes are ready to be merged into the main branch, submit a pull request with Github's online interface.