Coder Social home page Coder Social logo

aust1inn / gallery Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sophianm/gallery

0.0 0.0 0.0 29.88 MB

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

Home Page: https://sunsplash-sophia.herokuapp.com/

License: MIT License

JavaScript 1.40% Python 29.63% CSS 21.07% HTML 47.91%

gallery's Introduction

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

[email protected] | [email protected]

gallery's People

Contributors

sophianm 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.