-Web clone of the Instagram app -June 15th, 2018 -By Peter Kuria
-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, and following other users. users can view photos uploaded by other users in the home page of app.
- Find the specs here
-
Ubuntu Software
-
Python3.6
-
Postgres
-
python virtualenv
-
Clone the Repo
-
Run the following command on the terminal: git clone https://github.com/peter302/InstaPhotos.git cd Instagram
-
Activate virtual environment
-
Activate virtual environment using python3.6 as default handler
-
virtualenv -p /usr/bin/python3.6 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 insta; .- env file
-
Create .env file and paste paste the following filling where appropriate:
-
SECRET_KEY = '<Secret_key>'
-
DBNAME = 'insta'
-
USER = '' -PASSWORD = ''
-
DEBUG = True
-
EMAIL_USE_TLS = True
-
EMAIL_HOST = 'smtp.gmail.com'
-
EMAIL_PORT = 587
-
EMAIL_HOST_USER = ''
-
EMAIL_HOST_PASSWORD = ''
-
Run initial Migration
-
python3.6 manage.py makemigrations gram
-
python3.6 manage.py migrate ##Run the app
-
python3.6 manage.py runserver
-
Open terminal on localhost:8000
- Like and Follow functionality do not work
- Python 3.6
- HTML
- Bootstrap 4
- JavaScript
- Heroku
- Postgresql
- Contact me on [email protected] for any comments, reviews or advice.
- Copyright (c) Peter Mbai Kuria