A simple Social network based on Python/Django framework; Daneshkar Python/Django bootcamp.
How does it works? In this social network:
- Each user has a profile with username, password, image and a short bio.
- Each user can view other users profile and follow them.
- Each user can post contents containing title, text content, some images and tags.
- Each user can reply to posts and other replies in a nested manner. User can like or dislike posts and replies.
- Each user can follow a specific tag as well.
- Each user can archive his/her own posts or profile. Other users can not access to archived posts or users.
- Before signing in, each user can only view posts and search usernames.
How to use?
- First make a directory:
mkdir socialnetwork - Open created directory:
cd socialnetwork - Create virtual environment in created directory:
python3 -m venv venv - Use venv python intrepeter:
source ./venv/bin/activate - Install prerequities:
pip install -r requirements.txt - Clone project in
socialnetworkdirectory:
git clone git@github.com:saraeygh/social-network.git - Use
makemigrationsandmigratecommands to create database schema andcreatesuperusercommand to create admin user. Now you can access social network admin panel with admin user on your localhost:
python3 manage.py runserver
Add it here soon ...
