GithubHelp home page GithubHelp logo

peter302 / instaphotos Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 32.09 MB

this is a photo app mimicking Instagram where I post my photos and you can like and comment on those photos

Home Page: https://kuriainstagram.herokuapp.com/

Python 97.04% HTML 0.95% Shell 0.03% PowerShell 0.01% C 0.03% CSS 0.93% JavaScript 1.01%

instaphotos's Introduction

Instagram

-Web clone of the Instagram app -June 15th, 2018 -By Peter Kuria

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, and following other users. users can view photos uploaded by other users in the home page of app.

Specifications

  • Find the specs here

Set Up and Installations

Prerequisites

  • 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

  • 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

Known bugs

  • Like and Follow functionality do not work

Technologies used

  • Python 3.6
  • HTML
  • Bootstrap 4
  • JavaScript
  • Heroku
  • Postgresql

Support and contact details

License

  • Copyright (c) Peter Mbai Kuria

instaphotos's People

Contributors

peter302 avatar

Watchers

James Cloos avatar  avatar

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.