GithubHelp home page GithubHelp logo

janice-m / grey-gram Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 55.06 MB

This is a python3.6 Django framework project that is a clone of Instagram

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

Python 95.65% Shell 0.06% PowerShell 0.02% CSS 1.18% JavaScript 1.41% HTML 1.69%
instagram python3 django heroku html5 heroku-deployment

grey-gram's Introduction

Grey Gram

Grey Gram is an instagram clone made using Python's Django Framework.

screenshot screenshot

Responsive version

screenshot

Getting Started/Setup

  • git clone https://github.com/Janice-M/grey-gram.git
Create a virtuual
  • Creating Virtualenv - unlimited virtual
  • sudo apt-get install python3-pip
  • pip3 install virtualenv
  • virtualenv venv (you can call it venv or anything you like)
  • source venv/bin/activate

Let virtual remain activated and then in virtual :

Install django

  • run pip install django==2.0.7
  • Then run shell by using python3.6
  • import django in shell
  • Then in virtual in terminal create your django app django-admin startproject newdjango

Install dependencies

pip3 install -r requirements

Environment requirements

  • SECRET_KEY= added by default
  • DEBUG= set to false in production
  • DB_USER= database user of choice
  • DB_PASSWORD= database of choice
  • DB_HOST="127.0.0.1" on local
  • MODE= dev or prod , set to prod during production
  • ALLOWED_HOSTS='.localhost', '.herokuapp.com', '.127.0.0.1'

Running the tests

Run tests by running the following :

(venv)$ python3.6 manage.py test photos

Break down into end to end tests

The tests will test the following features in the system :

  • Image Model
  • Comments Model
  • Profiles Model

And coding style tests

The app does not need coding style tests according to its current scope

Database Migration

Migrate using:

python manage.py migrate

Running The Server on Your Local Host

python manage.py runserver

Built With

  • Django - Python Framework
  • Vanilla Javascript
  • HTML5
  • Bootstrap 3

Deployment

Please read Deploy to Heroku :) for details on our deployment of this app

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

grey-gram's People

Contributors

janice-m avatar dependabot[bot] avatar

Watchers

James Cloos avatar  avatar

Forkers

didindinn

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.