This is a web application written in Django. It is a photo gallery where users can view different photos based on where they were taken, search the photos by category, and copy the photo link to share with others. The administrator is in charge of populating the database.
- View different photos that interest them
- Click a single image to expand it and view the details of that image
- Search for different categories
- View images based on the location they were taken.
- View by Location
Behaviour | Input | Output |
---|---|---|
Click on the location you want from the tabs in the landing page | location | Only images from that location are displayed |
- Search by Category
Behaviour | Input | Output |
---|---|---|
Enter a search category on the search form | searchTerm | Images that belong to that category are displayed |
- Admin View
Behaviour | Input | Output |
---|---|---|
Click on Admin on navigation bar | Username, Password | User is redirected to the admin page where they can manage the database |
- Copy Image Link
Behaviour | Input | Output |
---|---|---|
Click on the copy icon on the image modal that appears after clicking on the image | copy link | The image link is copied to clipboard |
-
clone repository
-
Type code based on the text editor you have and work on it.
-
Set up Database,and put your username and password in the code
-
Make migrations python3.8 manage.py makemigrations picture
-
Migrate python3.8 manage.py migrate
-
Run main apllication
- python3 manage.py runserver
-
Run tests
- python3.6 manage.py test imagery
-
Creating Admin Locally python manage.py createsuperuser. Then set username, email & password
-
Creating Django Admin
heroku run python manage.py createsuperuser. Then set username, email & password
- Python3.8
- Django 4.0
- javaScript
- Bootstrap
- PostgreSQL
MIT License
Copyright © license 2022 ,Isaac kiptoo kilimo, student Moringa school.
Github Profile - Isaac kiptoo kilimo
Email Address-[Isaac kiptoo kilimo] (isaac.kiptoo.kilimo@student.moringaschool.com)
Copyright © 2022