/my-gallery

A Django-based personal gallery web application that displays my photo collections.

Primary LanguagePythonMIT LicenseMIT

MY GALLERY

Author

[BENARD KIPROTICH BETT]

Description

User can view the photos of her choice click on one photo expand it and view details of the photo. User can search for different category ot photos They can also copy the link to a photo to share with others..

Live Link

View Site

Admin Dashboard

Admin Dashboard Login with credentials

User Story

  • User can search photos based on their categories
  • User can browse photos based on the location they were taken
  • User is able to view different photos that interest them.
  • When user clicks on a single photo it expands it and user is able to view the details of the photo in a modal.
  • User is able to view and copy link to the photo

Prerequisites

You need to have the following to have this project working on your local system;

  1. Python3.8
  2. Django
  3. Pip
  4. Virtual Environment(virtual)
  5. A text editor

Development Installation

To get the code..

  1. Clone the repository: git clone https://github.com/ObadiaH123/my-gallery.git

  2. Move to the folder and install requirements My-Album

  3. In the projects root directory, install the virtualenv library using pip and create a virtual environment. Run the following commands respectively:

    • pip install virtualenv
    • virtualenv virtual
    • source virtual/bin/activate
      • Note that you can exit the virtual environment by running the command deactivate
  4. Download the all dependencies in the requirements.txt using pip install -r requirements.txt

  5. Launch the application locally by running the command python manage.py runserver and copying the link given on the termnal on your browser.

    • To post photos, run the command python manage.py createsuperuser to create an admin account in order to post. Access to the admin panel is by adding the path /admin to the address bar.

Technology used

Known Bugs

  • There are no known bugs currently but pull requests are allowed incase you spot a bug

Contact Information

If you have any question or contributions, please email me at [kiprotichbernard780@gmail.com]

License

License: MIT