Skip to content

Latest commit

 

History

History
68 lines (47 loc) · 1.09 KB

README.md

File metadata and controls

68 lines (47 loc) · 1.09 KB

1. Clone the Repository

First, clone this project repository from GitHub to your server.

  git clone https://github.com/islombeknv/chess-game.git
  cd chess-game

2. Set Up the Environment

Create a Virtual Environment

  python3 -m venv venv
  source venv/bin/activate

3. Install Dependencies

Install the required packages using pip.

  pip install -r requirements.txt

4. Set Up Database

Apply database migrations to set up your database schema.

  python manage.py migrate

5. Create a Superuser

Create a superuser for accessing the Django admin interface.

  python manage.py createsuperuser

6. Static Files

Collect Static Files

  python manage.py collectstatic

7. Run Tests

Execute the tests to ensure everything is functioning correctly.

  python manage.py test

8. Data Generation:

Generate realistic chess game records.

  python manage.py generate_games [argument]

8. Run server:

Run server to visit website and see the result.

  python manage.py runserver