Coder Social home page Coder Social logo

trellixvulnteam / gram-like_39ih Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pascaline-irabaruta/gram-like

0.0 0.0 0.0 28.46 MB

An app where users can sign-up to share posts, comment on the posts, like the posts and follow other users.

Home Page: https://gram-like.herokuapp.com/

License: MIT License

Shell 0.02% JavaScript 8.40% Python 89.69% CSS 0.51% HTML 1.38% Procfile 0.01%

gram-like_39ih's Introduction

Gram-Like

An app where users can sign-up to share posts, comment on the posts, like the posts and follow other users

Author

Getting Started

Fork this repository or clone it to your local machine on ubuntu use the following commands

git clone https://github.com/pascaline-irabaruta/instagram-clone.git

User Story

As a user of the application you will be able to:

  • view different posts from accounts followed
  • click on a single photo to expand it and also view the details of the photo.
  • search for user profiles
  • comment on photos
  • like posts
  • Upload Posts with caption
  • Follow other users

Liknk to the live site

Pre-requisites

  1. What you need
  • Python version 3.6
  • postgres database

Installation

  1. set up a virtual environment using the following command
python3 -m venv  virtual

And activate virtual

source virtual/bin/activate

  1. Install the requirements use the command...
pip install -r requirements.txt
  1. create a .env file and add
SECRET_KEY='<random-string>'
DEBUG=True
ALLOWED_HOSTS=''
DATABASE_URL='postgres://databaseowner:password@localhost/databasename'
  1. create a database using postgres
CREATE DATABASE <your-database-name>
  1. create a migration using the following command
python3 manage.py makemigrations

and migrate

python3 manage.py migrate
  1. create a super user for admin account
python 3.6 manage.py createsuperuser

add your password and username , email is not a must.

  1. To run user :
python3 manage.py runserver
  1. navigate to admin by adding /admin to your local host url like so :
127.0.0.1:8000/admin

Technologies Used

  • Html5 and Css3
  • Python
  • Bootdstrap 4
  • Django web framework used
  • JQUERY
  • Postgresql database

License

  • This project is licensed under the MIT License - see the LICENSE file for details.
  • Copyright (c) 2021 Pascy Irabaruta

gram-like_39ih's People

Contributors

pascaline-irabaruta avatar trellixvulnteam 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.