Instagram clone project with django
Visit Site
·
Report Bug
·
Request Feature
This is a instagram clone made with django a python backend framework. Django is on of the best framework for backend.
It is build with
- Django
- Python
- JavaScript
- HTML
- CSS/SCSS
Here's how you can use this project
Pre requirements are
- git
- python3
- pip3(linux/mac)/pip(windows)
- First clone the repo
git clone git@github.com:rohid-hub/Instagram_Clone.git
- Create Virtualenv
virtualenv env
Activating prosses for windows (cmd/ps)
env/Scripts/activate
Activating prosses for mac or linux (bash)
source env/bin/activate
- Now install the requirments.txt (pip for cmd/ps and pip3 for bash)
pip3 install -r requirments.txt
- Move to main django root dir where manage.py lives
cd instagram
- Migrations
python manage.py makemigrations
pyhthon manage.py migrate
- Create a super user for django admin panel. You can use this user as a instagram user in future as well.
python manage.py createsuperuser
It will ask you for a user name, email and password. Give this things to create super user
- Run the server
python manage.py runserver
It will open a server at port 8000. Go to your browser and go to localhost:8000 You should see this page.
- Log in with the super user to log in give that username and password that you gave for creating superuser then click login. You should log in at this time. If not then try to go to the home page useing just localhost:8000/
Thats it now you can upload images and create new user and see eachothers posts in the timeline.
Rohidul Islam - email
Github Link: rohid-hub