VachaganGrigoryan / gamezone-app

Game Zone Platform
MIT License
0 stars 0 forks source link

Game Zone API

Welcome to Game Zone Project! This project is set up with Django, Poetry, Docker, and Docker Compose to make installation and local development a breeze.

We are build open source GraphQl API for gaming platform. Our goal to make great gaming platform and have big community.

Prerequisites

Before you get started, ensure you have the following installed on your system:

Quick Start

  1. Clone the repository:

    git clone git@github.com:VachaganGrigoryan/gamezone-app.git
    cd gamezone-app
  2. Clone .env.example file to .env file and change variables.
    cp .env.example .env
  3. Start the Docker containers:

    docker-compose up --build

Installation

  1. Create a virtual environment using Poetry:

    poetry install
  2. Start the Docker containers:

    docker-compose up --build
  3. Apply database migrations:

    docker-compose exec api python manage.py migrate
  4. Create a superuser:

    docker-compose exec api python manage.py createsuperuser
  5. Access the Django development server:

Docker and Docker Compose

Project Structure

Development and Deployment

Adjust settings in the .env file for development and production. For production deployment, consider additional configuration, such as using a production-ready database and web server.