Coder Social home page Coder Social logo

simonkairu / galaart Goto Github PK

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

Personal Gallery application to display photos using Django

Home Page: https://artgala.herokuapp.com/

License: MIT License

Python 95.19% CSS 0.81% HTML 1.29% Shell 0.04% PowerShell 0.02% Xonsh 0.01% JavaScript 2.63%

galaart's Introduction

ArtGala

29/11/2021

By Simon Kairu

Description

ArtGala is a photo gallery web application that display photos. Users are able to see all the images uploaded by admin. They can also copy the link to a photo to paste at their destination. They can also search for photos based on the categories.

Behaviour Driven Development(BDD)

Behavior Input Output
View photos of interest Scroll to see a gallery and click on picture Displays a picture with name description and copy link for sharing
Search a picture by category Enter the category in the search input Displays photographs in the searched category
View pictures by location Click on location of interest in menu bar Displays photographs of chosen location
Copy Link to clipboard Click on copy link button in the modal class Copies link to clipboard
View Single picture Click on photo of interest then click on image Displays a single page with details of the picture and related images

Features

As a user of ArtGala web application, you will be able to:

  • View different photos that interest me
  • Search for different categories of photos
  • Copy a link to the photo to share with my friends
  • View photos based on the location they were taken

Setup/Installation Requirements

To interact with the ArtGala web application:

  • Have the latest version of browser installed
  • Click on this link to view the gallery.

To contribute to ArtGala web application:

Clone the Repo

  • Create an account on Github
  • Fork the repository from Github with this link
  • Clone the repository
  • Open the project cloned project

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.8 manage.py makemigrations gallery
python3.8 manage.py migrate     

Run the app

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

Known Bugs

There are no known bugs so far

Technologies Used

  • Python v3.8
  • HTML
  • Bootstrap
  • Django
  • Postgres

Support and contact details

In case of any problem while interacting with the web application, reach out to me at [email protected]

License.

MIT Copyright (c) 2021 MITlicense

galaart's People

Watchers

Simon Kairu 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.