๐
A clone of the website for the popular photo app Instagram
- 21/10/2020
This is an app that allows users to create their accounts,upload there profile,post any image with description, like post and comment on other people posts
- User can register and log in to application using their own and unique credentials and view other peoples posts.
- A user can like and comment on a post.
- A user can upload posts and edit their profile.
- A user can view profiles of people they follow.
- Admin can regulate images uploaded by deleting from the admin dashboard as well as completely close a users account.
Behavior | Input | Output |
---|---|---|
User visits the app and gets redirected to the login page | User logs in | Directed to the home page where they see posted photos |
If user has no account, they click on sign up |
User signs up | User is redirected to the log in page |
Home page loads | Add comment | Comment posted appears |
Homepage loads | Click profile |
User's profile appears |
Homepage loads | Click upload image icon |
User's redirected to a page where they can upload an image |
Homepage loads | Click settings icon |
beside the profile user can change their password or logout |
Homepage loads | User inputs in the search form and presses enter | Searched results show |
A list of users displays | Click follow button to follow(currently not working) |
Reloaded to the homepage |
- Follow section is not working
- The app is still on development process
1.Clone or download and unzip the repository from github
-
Activate virtual environment using python3 as default handler virtualenv -p /usr/bin/python3 venv && source venv/bin/activate
-
Install dependancies that will create an environment for the app to run pip3 install -r requirements.txt
-
Create the Database
- psql
- CREATE DATABASE instaclone;
- Create .env file and paste the following :
- SECRET_KEY = '<Secret_key(any)>'
- DBNAME = 'instaclone'
- USER = ''
- PASSWORD = ''
- DEBUG = True
- Run initial Migration
- python3 manage.py makemigrations instagram
- python3 manage.py migrate
- Run the app
- python3 manage.py runserver
- Open terminal on localhost:8000
or run using the Markfile
- make migrations
- make migrate
- make serve
- Running test
- Python manage.py test
- PYTHON 3
- DJANGO FRAMEWORK
- BOOTSTRAP
- CSS
- POSTGRESS
- PYTHON 3
- DJANGO FRAMEWORK
- PYTHON VIRTULENV
- POSTGRESS
contact me @ [email protected]
The project is underMIT license Copyright ยฉ 2020.All rigths reserved