Skip to content
forked from SophiaNM/Gallery

A django application that is used to display a gallery of my pictures of interest

License

Notifications You must be signed in to change notification settings

BenIraa/Gallery

 
 

Repository files navigation

SUNSPLASH Gallery App

This is an Independent project for Moringa Core Django module, July 13th 2018.

Description

Sunsplash is a photo gallery web application to showcase beautiful pictures. Users get can view photos uploaded by 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. They can also search for photos based on the categories.

Features

  • The home page allows users to see various images:
  • User can see all images per location they were taken
  • Users can also search for images based categories
  • Admin can upload images from a django dashboard

View Live Site here

View the complete site here

Technologies Used

- Python 3.6
- Django MVC framework
- HTML, CSS and Bootstrap
- JavaScript
- Postgressql
- Heroku

Specifications

To view the user dtories or BDD check the specs file.

Prerequisite

The Sunsplash project requires a prerequisite understanding of the following:

  • Django Framework
  • Python3.6
  • Postgres
  • Python virtualenv

Setup and installation

Clone the Repo

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 = '<Username>'
PASSWORD = '<password>'
DEBUG = True

Run initial Migration

python3.6 manage.py makemigrations gallery
python3.6 manage.py migrate

Run the app

python3.6 manage.py runserver
Open terminal on localhost:8000

Known bugs

No known bugs so far. If found drop me an email.

Contributors

- Sophia Murage

Contact Information

njerimurage92@gmail.com | snmurage1@gmail.com

About

A django application that is used to display a gallery of my pictures of interest

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 47.9%
  • Python 29.6%
  • CSS 21.1%
  • JavaScript 1.4%