Coder Social home page Coder Social logo

maxwaiyaki / gallery Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4.44 MB

A personal gallery application that displays photos for others to see.

Home Page: https://max-gallery.herokuapp.com/

License: MIT License

Python 49.29% HTML 46.25% CSS 3.39% JavaScript 1.06%
django django-framework python3 postgresql

gallery's Introduction

License: MIT Django Python 3.6

Flickr

A personal gallery application that displays photos for others to see.

Live Link

You can preview the deployed application here ๐Ÿ‘‰๐Ÿพ Flickr

Getting Started

User Stories

  • View different photos that interest me.
  • Click on a single photo to expand it and also view the details of the photo. The photo details must appear on a modal within the same route as the main page.
  • Search for different categories of photos. (ie. Travel, Food)
  • Copy a link to the photo to share with my friends.
  • View photos based on the location they were taken.

BDD

The program lets the admin upload photos

  • Example input: Submit image form
  • Example output: Image is shown on website

The program lets the user search for an image based on category

  • Example input: Submit search form
  • Example output: displays results based on search term

The program lets the user select images based on a location

  • Example input: User selects specific location
  • Example output: displays images for location selected

Setup & Installation

Prerequisites

Click on the any of the buttons to get instructions on how to install the technology on your local machine.

  • Git
  • Python 3.6
  • Pip
  • Virtualenv
  • Django
  • PostgreSQL

Installation โฌ‡๏ธ

To access this application locally on your machine, you'll need to clone it by typing this command to your terminal: git clone https://github.com/maxwaiyaki/gallery.git. You will then need to create a virtual enviroment inside your application python3.6 -m venv virtual and activate it source virtual/bin/activate for you to install the dependacies of this application. Run the command pip install -r requirements.txt in your virtual enviroment to install all the required dependancies. You will also need to create a .env file using the format below. Server the application using python3.6 manage.py runserver to view it on your local web browser.

.ENV

#don't share your .env settings make sure you ignore them in your .gitignore file
SECRET_KEY='<Your SECRET_KEY>'
DEBUG=True #set to false in production
DB_NAME='<gallery>'
DB_USER='<YOUR DB USERNAME>'
DB_PASSWORD='<YOUR DB USERNAME>'
DB_HOST='127.0.0.1'
MODE='dev' #set to 'prod' in production
ALLOWED_HOSTS='.localhost', '.herokuapp.com', '.127.0.0.1'
DISABLE_COLLECTSTATIC=1

Known Bugs ๐Ÿ›

There are no known bugs yet but if you encounter a bug(s) create an issue stating the problem(s).

Technologies used ๐Ÿ’ป

Django Python 3.6 PostgreSQL HEROKU Git Bootstrap Pip HTML5

Author ๐Ÿ‘จ๐Ÿพ

Maxwell Waiyaki ยฉ๏ธ 2018

gallery's People

Contributors

maxwaiyaki avatar

Watchers

 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.