Django based social network
A Django 4.0 -based open source social network application.
git clone https://github.com/manjurulhoque/django-social-network.git
cd django-social-network
sudo apt install python3-venv
python3 -m venv my-project-env
The command above creates a directory called my-project-env, which contains a copy of the Python binary, the Pip package manager, the standard Python library and other supporting files.
source my-project-env/bin/activate.
Once activated, the virtual environment’s bin directory will be added at the beginning of the $PATH variable. Also your shell’s prompt will change and it will show the name of the virtual environment you’re currently using. In our case that is
(my-project-env) $
Now that the virtual environment is activated, we can start installing, upgrading, and removing packages using pip.
pip -r install requirements.txt
Modify django-social-network/setting.py
with database settings if you want to connect database other than default sqlite db.
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
Open up a browser and visit: http://127.0.0.1:8000/ , then you will see the application.
Contributions are always welcome!
See contributing.md
for ways to get started.
Please adhere to this project's code of conduct
.
Show your support by 🌟 the project!!