Distributed Social Network that allows users interact with each other as well as offering a social market place platform.
The following depenencies need to be installed for smooth running
- django
- pillow
- django restframework
- django-cors-headers
- channels
- channels-redis
- djoser
- django-friendship
- drf_yasg
Open terminal/command prompt and run:
python manage.py migrate
python manage.py createsuperuser
Install postgres
sudo apt update
sudo apt install postgresql postgresql-contrib
Access postgres console:
sudo -i -u postgres
OR
sudo -u postgres psql
change password command f
\password postgres
Add database
create database mazaryn;
Set following os constants
DATABASE_NAME
DATABASE_USER
DATABASE_PASSWORD
DATABASE_HOST
DATABASE_PORT
Migrate models:
python manage.py migrate
Rust
(use brew
)libmagic
(usepip install python-magic-bin==0.4.14
) pip
to the latest version