Skip to content
This repository has been archived by the owner on Mar 15, 2020. It is now read-only.

williamd1k0/django-score

Repository files navigation

Django Score

python-version license

Before installation (optional)

Use a virtualenv in development to prevent conflicts with the dependencies (more info about virtualenv).

You can install virtualenv via pip:

pip install virtualenv

Create an env ignoring all site-packages:

virtualenv env --no-site-packages

Activate the env:

  • Bash on Linux:
source env/bin/activate
  • Bash on Windows:
source env/Scripts/activate
  • CMD/PowerShell:
.\env\Scripts\activate

Installation

Intall server dependencies using pip:

pip install -r requirements.txt

For Python linting and other development tools, install devel requirements (optional):

pip install -r requirements-devel.txt

Initializing database tables

Change to django_score directory and make/apply migrations:

python manage.py makemigrations
python manage.py migrate

Starting the server

Execute the runserver Django command:

  • Bash on Linux or CMD/PowerShell:
python manage.py runserver
  • Bash on Windows (for pty support):
winpty python manage.py runserver

Testing score system

TODO

Releases

No releases published

Packages

No packages published