Skip to content
/ kappa Public
forked from jamiees2/kappa

A project euler like contest environment.

License

Notifications You must be signed in to change notification settings

omsigum/kappa

This branch is 12 commits ahead of jamiees2/kappa:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

918e3ff · Apr 1, 2017

History

63 Commits
Jan 23, 2016
Apr 1, 2017
Jan 23, 2016
Mar 20, 2017
Mar 31, 2017
Feb 22, 2016
Mar 31, 2017
Jan 23, 2016
Jan 23, 2016
Feb 19, 2016
Jan 24, 2016
Apr 1, 2017
Jan 23, 2016
Jan 23, 2016
Mar 31, 2017
Mar 20, 2017
Mar 31, 2017
Jan 23, 2016
Jan 23, 2016

Repository files navigation

kappa

A project euler like contest environment.

Setup

dependencies: To run this software you must first install all dependencies specified in problemtools : problemtools

initalize the submodules ( including the prementioned problemtools ) :

git submodule init
git submodule update

install pip requirements :

sudo -H pip3 install -r requirements.txt

setup postgres sql :

sudo apt install postgressql

Start postgressql :

sudo systemctl start postgressql

Login as the newly created postgres user and initalize the database user and database ( This user was created for you ) :

sudo su - postgres
./db/setup_db.sh epsilon "epsilon" epsilon

This instruction leaves the default database password as "epsilon", this should be okay since this user only has access to the epsilon table. And the database is only accessible from your computer.

Setting the app.secret_key, this is done in kappa.py on line 45. Remcomendations regarding the key can be found : secret key

Run

Starting the program:

python3 kappa.py <contest_dir>

Build a contest:

problems/build_contest <contest_dir>

creating problems

For the contest format, see an example contest at example_contest.

Based on ε, see epsilon

About

A project euler like contest environment.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 57.1%
  • HTML 21.1%
  • Python 20.2%
  • Other 1.6%