Skip to content

This is a web based app that allows a user to view images and view the image description and they can share the link to that image.

License

Notifications You must be signed in to change notification settings

danalvin/Django-IP1

Repository files navigation

#Gallery


Author: Dan Mungai

Description

Gallery This web app is used to show pictures based on different location of shooting,categories and has photo descriptions.


User

  1. View photos of interest
  2. Click on a single photo to expand it and also view the details of the photo which is description and category.
  3. Copy link of the photo to share

Features

  • List photos of all categories
  • show category of an image
  • Images have desciption
  • Categorize pitches
  • view images of different categories
  • search image according to category

Installation

Requirements

This project was created on a debian linux platform but should work on other unix based[not limited to] sytems.

  • Tested on Debian Linux
  • Python 3.6.4

Cloning the repository

git clone https://github.com/danalvin/Django-IP1 && cd Gallery

Creating a virtual environment

sudo apt-get install python3.6-venv
python3.6 -m venv virtual
source virtual/bin/activate

Installing dependencies

pip3 install -r requirements

The following libraries are required config==0.3.9 dj-database-url==0.5.0 Django==1.11 django-bootstrap3==10.0.1 django-bootstrap4==0.0.7 django-heroku==0.3.1 gunicorn==19.9.0 Pillow==5.2.0 psycopg2==2.7.5 python-decouple==3.1 pytz==2018.5 whitenoise==3.3.1

Running Tests

python3 manage.py test

Running the web app in development

python3 manage.py runserver

Open the app on your browser, by default on 127.0.0.1:8000.

Live Demo

The web app can be accessed from the following link

Quickstart

usage: manage.py [-?] {server,test,shell,runserver} ...

positional arguments:
  {server,test,shell,runserver}
    server              Runs the Flask development server i.e. app.run()
    test                Run the unit tests.
    shell               Runs a Python shell inside Flask application context.
    runserver           Runs the Flask development server i.e. app.run()

optional arguments:
  -?, --help            show this help message and exit

Technology used

Contributing

License (MIT License)

This project is licensed under the MIT Open Source license, (c) [Dan Mungai][https://github.com/danalvin/Django-IP1]

About

This is a web based app that allows a user to view images and view the image description and they can share the link to that image.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published