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
- Host: GitHub
- URL: https://github.com/mohammad-pooladi/drf_ecommerce-example
- Owner: mohammad-pooladi
- License: gpl-3.0
- Created: 2025-04-27T04:57:33.000Z (6 months ago)
- Default Branch: Master
- Last Pushed: 2025-05-05T19:27:05.000Z (6 months ago)
- Last Synced: 2025-05-05T20:39:40.282Z (6 months ago)
- Topics: django, docker, docker-compose, drf, drf-example, drf-simplejwt, ecommerce, ecommerce-website, postgresql, python
- Language: Python
- Homepage:
- Size: 60.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```