A web application that users can post photos on various categories.
The user should be able to:
- View different photos that interest them.
- Click on a single photo to expand it and also view the details of the photo. The photo details must appear on a modal within the same route as the main page.
- Search for different categories of photos. (ie. Travel, Food)
- Copy a link to the photo to share with my friends.
- View photos based on the location they were taken.
- Python3.6
- search functionality based on image description.
- Bootstrap image model and copy link button.
- Create and display photos based on categories
- Django admin dashboard for adding & managing images, categories and location
- Filter images based on category
To install, follow the following instructions;
$ git clone https://github.com/Doktatech/Gallery.git
$ cd Gallery
$ python3.6 manage.py --without-pip virtual
$ source virtual/bin/activate
Install all the necessary requirements by running pip install -r requirements.txt (Python 3.6).
$ ./manager.py runserver
Since one needs a virtual enviroment, Create a virtual file and add the following configutions to it
SECRET_KEY= #secret key will be added by default
DEBUG= #set to false in production
DB_NAME= #database name
DB_USER= #database user
DB_PASSWORD=#database password
DB_HOST="127.0.0.1"
MODE= # dev or prod , set to prod during production
ALLOWED_HOSTS='.localhost', '.herokuapp.com', '.127.0.0.1'
- Python3.6
- Django 1.11
- Heroku
- Bootstrap
- [HTML 5]
This project is licensed under the MIT Open Source license, (c) Rewel Kinyanjui