A platform for solving competitive programming challenges.
Open up a terminal and enter the following:
$ docker-compose -f backend/docker-compose.yaml up
Note that, depending on the platform, you may need to replace docker-compose
with docker compose
.
Open up another terminal window/tab and enter the following:
$ python -m venv venv
$ . ./venv/bin/activate
$ pip install -r requirements.txt
$ flask --app backend/app run
Note that, the second command differs depending on the platform and shell. Here you can find the exact command you need to use.
Open up yet another terminal window/tab and enter the following:
$ npm start --prefix frontend
Finally, go to http://127.0.0.1:3000 (http://localhost:3000 will not work properly).