Skip to content

UserMarekDrag/chess-backend

Repository files navigation

Chess platform

Installation

  1. Clone the repository:

    git clone https://github.com/UserMarekDrag/chess-backend.git
  2. Navigate to the directory:

    cd chess-backend/
  3. Copy the env file:

    cp .env-example ./.env
  4. Build and start the Docker services:

    docker-compose up --build -d
  5. The backend will be now running at http://localhost:8080/.

  6. Run pylint locally:

    export DJANGO_SETTINGS_MODULE=config.settings
    pylint --rcfile=.pylintrc config
  7. Run unit tests locally:

    python manage.py test

Database Schema

Database Schema

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 

Author

Marek Drąg

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published