👾 Code Session
Code session is a web application made with Flask, python designed for Romanian students to compete with other people by solving informatics problems. After each solution is submitted, a "professor" (who has a administrator type account) has to review the code for each person and give points based on that. Each participant get awarded points, medals and thropies for representing either number of solutions submitted or number of wins.
- Install python 3 (if not already installed). You can either install python by command line or from here
- Install pip3
Make sure python3 and pip are installed by running
python3 --version and
Clone the repository
git clone https://github.com/alexmarginean16/codesession.git
Change directory to repo
Create and activate a python3 virtualenv
python3 -m venv venv . /venv/bin/activate
pip install -r requirements.txt
mongo_connect.pyReplace the API KEYS, DB URI/NAME, etc. listed below:
twitter_blueprint = make_twitter_blueprint(api_key='', api_secret='') 'RECAPTCHA_SITE_KEY': "", 'RECAPTCHA_SECRET_KEY': "" app.config['MONGO_DBNAME'] = '' app.config['MONGO_URI'] = ''
Run the application
The app is running on PORT 5000. Go to