Git Product home page Git Product logo

insta-clone's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.