Skip to content

informatyzacja/LigaPWr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Liga PWr

Web app for PWr Sports League

Data base diagram

Getting Started (Development)

Prerequisites

  • pipenv
  • make

Recommended

  • pyenv (for easy handling different python versions)

Startup

First clone the repository from Github and switch to the new directory:

$ git clone https://github.com/informatyzacja/LigaPWr
$ cd LigaPWr

To start or create python environment:

pipenv shell --python 3.11 # to create
pipenv shell # to start

To install packages from Pipfile:

make install

To start development server:

make dev

Other commands

To add package:

make install package=[package name]
make install-dev package=[package name] # for development only

To lint code:

make lint

To format code:

make format

To add dummy data to database:

python3 manage.py add_dummy_data