Skip to content

peterken674/instagram-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instagram Clone

Description

A partial clone of the popular social platform Instagram using Django.

Registration

Registration page.

Login

Login page.

Home

Home page.

New

New post view.

Home

Expanded post view.

Home

Expanded post view.

Home

Mobile view.

Setup/Installation

On your terminal, clone the project.

$ git clone git@github.com:peterken674/instagram-clone.git

Navigate into the cloned project.

$ cd instagram-clone

Create a .env file.

$ touch .env

Inside .env, add the following and fill the empty fields with the appropriate values:

SECRET_KEY=
DEBUG=True
DB_NAME=
DB_USER=
DB_PASSWORD=
DB_HOST='127.0.0.1'
MODE='dev'
ALLOWED_HOSTS='.localhost','.herokuapp.com','127.0.0.1'
DISABLE_COLLECTSTATIC=1
CLOUD_NAME= 
API_KEY=
API_SECRET=

The CLOUD_NAME, API_KEY, and the API_SECRET are from your account on Cloudinary.

Create the virtual environment and install the requirements from requirements.txt

$ python3 -m venv env
$ . env/bin/activate
$ pip install -r requirements.txt

Perform a migration.

$ python3 manage.py migrate

Start the server to run locally.

$ python3 manage.py runserver

Known Bugs

No known bugs.

Technologies Used

  • Django
  • Python 3.8.5
  • Vanilla Javascript
  • Bootstrap 5
  • Postgresql
  • Unittest
  • Cloudinary
  • Heroku

Support and contact details

If you have any suggestions, questions or in case of a fire, you can reach the developer via email.

License

License: MIT

Copyright © 2021 peterken674