A real-time multiplayer chess game web application built with Django and Django Channels
To install this repository on your machine
- Clone this repository:
$ git clone https://github.com/galaddirie/chess.git
- Create a virtual environment:
$ python3 -m venv venv
- activate virtual environment:
$ source venv/bin/activate
- navigate to the repository and install all the dependencies in requirements.txt:
$ pip install -r requirements.txt
- Create a new PostgreSQL database
$ psql postgres $ CREATE DATABASE databasename $ \connect databasename
- Populate environment variables
- make migrations
$ python manage.py makemigrations $ python manage.py migrate
- Run the application:
$ python manage.py runserver