Gallery is a simple photo gallery web application to showcase beautiful pictures and designs. Users get to view photos updated by the site 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. The search functionality will search photos based on the categories.
- Ubuntu Software
- Python3.6
- Postgres
- python virtualenv
Run the following command on the terminal:
git clone https://github.com/charlesmurage/gallery.git && cd gallery
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 = 'zoom'
USER = '<Username>'
PASSWORD = '<password>'
DEBUG = True
python3.6 manage.py makemigrations album
python3.6 manage.py migrate
python3.6 manage.py runserver
Open terminal on localhost:8000
Copy functionality does not work
- Python 3.6
- HTML
- Bootstrap 4
- JavaScript
- Heroku
- Postgresql
Contact me on muragemaina@gmail.com for any comments, reviews or advice.
Licensed under the (license)[MIT] Copyright (c) Charles Maina