Skip to content

Latest commit

 

History

History
49 lines (39 loc) · 775 Bytes

README.md

File metadata and controls

49 lines (39 loc) · 775 Bytes

contest.io

Setup

Pre-Requirements

  • yarn
  • virtualenv
  • sqlite3

Initialize VirtualEnv

virtualenv -p python3.6 venv

Activate it (must be done in every new shell in the working directory) and install the python dependencies

source venv/bin/activate
pip3 install -r requirements.txt

Install npm dependencies

yarn install
cd client/ && yarn install

Create database

sqlite3 server/database/database.db < server/database/schema.sql

Running

Run the flask setup

pip3 install -e .

Start Vue Development Server and Flask Backend

yarn dev
// navigate to localhost:3000 for FrontEnd
// navigate to localhost:5000 for BackEnd

If you want to only serve the Frontend (not recommended)

cd client/ && yarn dev