oggnik / acm-hscc

ACM High School Coding Competition Website
1 stars 0 forks source link

Create easy setup script / Manual #42

Closed oggnik closed 7 years ago

oggnik commented 7 years ago

From last time

Set up a TON of env variables (I recommend creating a file called .env_setup in ~ and adding the line 'source .env_setup' at the bottom of your .bashrc)
source venv/bin/activate
pip install -r .requirements
(Install MySQL [and the python wrapper] if you haven't)
Open MySQL
create database ;
quit MySQL
ipython
from hscc import db
db.create_all()
quit ipython
python run.py
oggnik commented 7 years ago

Added manual 04867114ecdaa2139f1fc6421572f0e38d46da0a