This project is based on the description of this file(ASSIGNMENT.MD). In short, in this social network, users can share their desired post with their followers.
- Django
- Django Rest Framework
- Docker
- Redis
- PostgreSQL
- Celery
Database Relationship diagram generated using dbdiagram
- Clone this repository to your local machine:
git clone https://github.com/shahriar-fattahi/Social-Network
2- SetUp venv
python3 -m venv 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