Jeffmusa / gallery

https://dk-gallery.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ART_GALLERY

Simple photo gallery web application to showcase beautiful pictures and designs.

By Dennis Kamau K

Description

  • ART_GALLERY is a simple photo gallery web application to showcase beautiful pictures and designs. Users get to view photos updated by the site admin. Users can see photos based on the location, by clicking on the listed locations in the menu. They can also copy the link to a photo to paste at their discretion. The search functionality will search photos based on the categories.

Set Up and Installations

Prerequisites

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 gallery;

  • .env file

Create .env file and paste paste the following filling where appropriate:

  • SECRET_KEY = '<Secret_key>'
  • DBNAME = 'gallery'
  • USER = ''
  • PASSWORD = ''
  • DEBUG = True

Run initial Migration

python3.6 manage.py makemigrations gall; python3.6 manage.py migrate Run the app python3.6 manage.py runserver Open terminal on localhost:8000

Known bugs Copy functionality does not work

Technologies used

  • Python 3.6
  • HTML
  • Bootstrap 4
  • JavaScript
  • Heroku
  • Postgresql Support and contact details Contact me on dennisveer27@gmail.com for any comments, reviews or advice.

License

  • MIT Copyright (c) Dennis Kamau K

About

https://dk-gallery.herokuapp.com


Languages

Language:Python 96.8%Language:JavaScript 1.4%Language:HTML 1.1%Language:CSS 0.6%Language:Shell 0.0%