Coder Social home page Coder Social logo

gallery's Introduction

Gallery

A web application that users can post photos on various categories.

By

User stories

The user should be able to:

  • View different photos that interest them.
  • 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.

Prerequisites

  • Python3.6

Features In Gallery

  • search functionality based on image description.
  • Bootstrap image model and copy link button.
  • Create and display photos based on categories
  • Django admin dashboard for adding & managing images, categories and location
  • Filter images based on category

Installation

To install, follow the following instructions;

    $ git clone https://github.com/Doktatech/Gallery.git
    $ cd Gallery
    $ python3.6 manage.py --without-pip virtual
    $ source virtual/bin/activate
    Install all the necessary requirements by running pip install -r requirements.txt (Python 3.6).
    $ ./manager.py runserver

Hot to Prepare enviroment variables

Since one needs a virtual enviroment, Create a virtual file and add the following configutions to it

    SECRET_KEY= #secret key will be added by default
    DEBUG= #set to false in production
    DB_NAME= #database name
    DB_USER= #database user
    DB_PASSWORD=#database password
    DB_HOST="127.0.0.1"
    MODE= # dev or prod , set to prod during production
    ALLOWED_HOSTS='.localhost', '.herokuapp.com', '.127.0.0.1'

Technology used

License ([MIT License]

This project is licensed under the MIT Open Source license, (c) Rewel Kinyanjui

gallery's People

Contributors

doktatech avatar

Watchers

James Cloos 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.