-
Clone the repository:
git clone https://github.com/UserMarekDrag/chess-backend.git -
Navigate to the directory:
cd chess-backend/ -
Copy the env file:
cp .env-example ./.env -
Build and start the Docker services:
docker-compose up --build -d -
The backend will be now running at http://localhost:8080/.
-
Run pylint locally:
export DJANGO_SETTINGS_MODULE=config.settings pylint --rcfile=.pylintrc config
-
Run unit tests locally:
python manage.py test
To generate a new database schema visualization, you can use the django-extensions's graph_models command:
python manage.py graph_models -a -o db-schema.png Marek Drąg
