michaelhillebrand / webet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

webet

API for betting/voting on various events

Getting Started

  1. Create a python virtual environment: python -m venv venv
  2. Source the virtual env: a. bash/zsh based shells: source ./venv/bin/activate b. cmd: .\venv\Scripts\activate.bat c. PowerShell: .\venv\Scripts\Activate.ps1
  3. Install dependencies: pip install -r webet/requirements.txt a. Optional alternative: Install dev requirements (pylint, etc) instead. Includes normal requiremnts too: pip install -r webet/requirements-dev.txt
  4. Install SQL Lite database schemas: python webet/manage.py migrate
  5. Create a local super user: python webet/manage.py createsuperuser
  6. Start the serverpython webet/manage.py runserver

Updating

  1. Pull latest code from master branch
  2. python webet/manage.py migrate to check for any DB updates

About

License:GNU General Public License v3.0


Languages

Language:Python 100.0%