An open API service indexing awesome lists of open source software.

https://github.com/mohammad-pooladi/drf_ecommerce-example


https://github.com/mohammad-pooladi/drf_ecommerce-example

django docker docker-compose drf drf-example drf-simplejwt ecommerce ecommerce-website postgresql python

Last synced: 6 months ago
JSON representation

Awesome Lists containing this project

README

          

## project setup

1- clone project
```shell
git clone https://github.com/mohammad-pooladi/DRF_Ecommerce-example.git
```
```
cd DRF_Ecommerce-example
```

2- SetUp venv
```
virtualenv -p python3.12 venv
source venv/bin/activate
```

3- install Dependencies
```
pip install -r requirements_dev.txt
pip install -r requirements.txt
```

4- create your env
```
cp .env.example .env
```

5- Create tables
```
python manage.py migrate
```

6- spin off docker compose
```
docker compose -f docker-compose.dev.yml up -d
```

7- run the project
```
python manage.py runserver
```