nivlapeter / Insta-clone

An Instagram clone project

Home Page:https://igram-01.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Instagram

Web clone of the Instagram app

Description

This is a simple web clone of the instagram website. A user can create an account and sign into it. The site supports uploading images, commnting on images for other users. Logged in users can view photos uploaded by other users in the home page of app.

Link to deployed site

https://igram-01.herokuapp.com/

Set Up and Installations

Prerequisites

  1. Ubuntu Software (20.04)
  2. Python3.8
  3. Postgres
  4. python virtualenvironment

Clone the Repo

Run the following command in your terminal: `git clone {the insta-clone repository}

Activate virtual environment

Activate virtual environment using python3.8 as default handler

virtualenv -p /usr/bin/python3.8 venv && source venv/bin/activate

Install dependancies

Install dependancies that will create an environment for the app to run pip install -r requirements.txt

Create the Database

psql
CREATE DATABASE insta;

.env file

Create .env file and paste paste the following filling where appropriate:

SECRET_KEY = '<Secret_key>'
DB_NAME = 'insta'
DB_USER = '<Username>'
DB_PASSWORD = '<password>'
DEBUG = True
ALLOWED_HOSTS='*'
CLOUD_NAME='<cloudinary>'
API_KEY='<cloudinary>'
API_SECRET='<cloudinary>'

run the (source .env) command in your terminal to update the env file

Run initial Migration

python3.8 manage.py makemigrations gram
python3.8 manage.py migrate

Run the app

python3.8 manage.py runserver

Open terminal on localhost:8000

Technologies used

- Python 3.8
- Django 3
- HTML
- Bootstrap 4
- Heroku
- Postgresql

Support and contact details

Contact me for further help/support through my github handle

License

Copyright (c) Peter Alvin

About

An Instagram clone project

https://igram-01.herokuapp.com/


Languages

Language:Python 50.7%Language:HTML 41.8%Language:CSS 7.5%