Skip to content

Jeeejeets/PubQuizApp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PubQuizApp

What does it do?

PubQuiz tournament system, keeps and displays classification, gives one user possibility to keep track of points in every team.

How to install

  1. Download repo,
  2. Initialize virtual environment in it: python -m venv env,
  3. Run that venv: source env/bin/activate,
  4. Install dependencies: pip install -r requirements.txt,
  5. Install frontend dependencies: npm install
  6. Compile frontend assets: npm run dev,
  7. (optional) Change database settings in settings.py if you want to use different (non-sqlite) db backend,
  8. Migrate database: python manage.py migrate,
  9. To run dev server: python manage.py runserver

Notice: Sometimes the app may not run and throw errors concerning None values on the main site. To fix that one must login into admin panel and visit GamePreferences so they can bootstrap. Error should be gone then.

Tips for devs

Dumping pip installations into the file

If you installed new pip dependency you need to allow others to know about it. To do so it is best to save all requirements in one file which in this case in named requirements.txt. You can do this by typing following command:

pip freeze > requirements.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 66.3%
  • HTML 24.1%
  • SCSS 6.3%
  • JavaScript 3.3%