Author: Dan Mungai
Gallery This web app is used to show pictures based on different location of shooting,categories and has photo descriptions.
- View photos of interest
- Click on a single photo to expand it and also view the details of the photo which is description and category.
- Copy link of the photo to share
- 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
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
git clone https://github.com/danalvin/Django-IP1 && cd Gallery
sudo apt-get install python3.6-venv
python3.6 -m venv virtual
source virtual/bin/activate
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
python3 manage.py test
python3 manage.py runserver
Open the app on your browser, by default on 127.0.0.1:8000
.
The web app can be accessed from the following link
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
- Git clone [https://github.com/danalvin/Django-IP1]
- Write your tests on
tests/
- If everything is OK. push your changes and make a pull request. ;)
License (MIT License)
This project is licensed under the MIT Open Source license, (c) [Dan Mungai][https://github.com/danalvin/Django-IP1]