reloadclub-gg / reload-backend

1 stars 0 forks source link

GTA Backend

GTA's Python/Django API

A project built with the following languages and libs to design and expose the API for the GTA application.
python 3.8
django
django-ninja
postgresql
redis
django-channels
celery

Requirements

git, docker, and docker-compose.

Setup

  1. Clone the project:
git clone https://github.com/3c-gg/reload-backend.git
cd reload-backend
  1. Duplicate .template.env to .env and make sure you have all envvars set.
  2. Run make up to get the project up and running.

Helper scripts

./pipenv-run is a helper command that wraps docker-compose to expose python-env-aware commands in a container. You can use it to run pipenv install or ./manage.py. See the Pipfile [scripts] section for additional commands.

On the Makefile there are some helper entrypoints that wrap the other wrappers.

Other instructions