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.
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 |
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
- Have the latest version of browser installed
- Click on this link to view the gallery.
- Create an account on Github
- Fork the repository from Github with this link
- Clone the repository
- Open the project cloned project
Activate virtual environment using python3.6 as default handler
virtualenv -p /usr/bin/python3.6 venv && source venv/bin/activate
Install dependancies that will create an environment for the app to run pip3 install -r requirements.txt
- psql
- CREATE DATABASE gallery;
Create .env file and paste paste the following filling where appropriate:
SECRET_KEY = '<Secret_key>'
DBNAME = 'gallery'
USER = '<Username>'
PASSWORD = '<password>'
DEBUG = True
python3.8 manage.py makemigrations gallery
python3.8 manage.py migrate
python3.8 manage.py runserver
Open terminal on localhost:8000
There are no known bugs so far
- Python v3.8
- HTML
- Bootstrap
- Django
- Postgres
In case of any problem while interacting with the web application, reach out to me at [email protected]
MIT Copyright (c) 2021 MITlicense