- WSGI
- Django v3.2.14 - Backend Framework
- Django Rest Framework v3.13.1
- DATABASE
- MySQL v8.0.29 - Oracle Cloud
- DevOps
- Github Actions(for CI/CD)
- Docker
- Python3(3.10 recommended)
- pip
Create a teenlief directory on your local machine to store the project repositories
- Clone the teenlief-backend, teenlief-secrets repositories inside the teenlief folder
git clone https://github.com/GMG-group/teenlief-backend.git
git clone https://github.com/GMG-group/teenlief-secrets.git
- Set up a Environment
- Create venv
cd teenlief-backend
python -m venv venv
- Activate venv
.\venv\Scripts\activate
source ./venv/bin/activate
- Install requirements
pip install --upgrade pip
pip install -r requirements.txt
- Get Secrets
Drag teenlief/teenlief-secrets/backend/secrets.json to teenlief/teenlief-backend
cp ../teenlief-secrets/backend/secrets.json .
- Run server locally
python manage.py runserver