Skip to content

This is a django gallery application where users can upload their photos and store according to different locations taken and different category

Notifications You must be signed in to change notification settings

ian-otieno/Django-Gallery

Repository files navigation

Django-Gallery

This Python/Django gallery website was created on the 27/03/2022

Author

Description

This is a django gallery application where users can upload their photos and store according to different locations taken and different category

Live Demo

Click on the link below to view the site;https://iainogallery.herokuapp.com/

User Stories

These are the behaviours/features that the application implements for use by a user and writer.

  • User loads the application using the url provided
  • The user sees various photos posted
  • The user clicks on the photo; photos details page is loaded
  • user searches for images by category
  • different photos are loaded according to that category
  • User filters photos by location and different photos are loaded according to that location
  • user clicks on the copy button to copy the link to download images

Behaviour Driven Development

Specifications

Behaviour Input Output
users loads the application On page load user sees various photos posted on the application
user clicks on the photo On click photo's details page is loaded showing the description, name , location and category
user searches for category on the search bar on page load different photos are loaded according to that category
user clicks on the loaction On page load different photos are loaded according to that location
user clicks on the copy button image link is copied to the clipboard

Prerequisites

  • Python 3.8.10
  • Django 3.2.10

Setup/Installation Requirements

To get the project .......

Cloning the repository:
https://github.com/ian-otieno/Django-Gallery.git 
Navigate into the folder and install requirements
cd Picture-Globe pip install -r requirements.txt 
Install and activate Virtual
- python3 -m venv virtual - source virtual/bin/activate  
Install Dependencies
pip install -r requirements.txt 
Setup Database

SetUp your database User,Password, Host then make migrate

python manage.py makemigrations pictures 

Now Migrate

python manage.py migrate 
Run the application
python manage.py runserver 
Running the application
python manage.py server 
Testing the application
python manage.py test 

Open the application on your browser 127.0.0.1:8000.

Known Bugs

No known bugs

Technologies Used

  • Python3.8
  • Django
  • Heroku

Contacts

Email: [email protected]

© 2022 Ian Otieno License: MIT

About

This is a django gallery application where users can upload their photos and store according to different locations taken and different category

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published