It is a Django app to show and manage images grouped in galleries(inspired by pintrest). Perfect option for people who just need a simple portfolio page and only want to focus on their work (artists, photographers, designers, painters).
- Python: programming language.
- Django: web framework.
- Bootstrap: front-end framework.
- Javascript -programming language
- django-photo_gallery
- gallery- base application folder.
- settings.py - the configuration file.
- static- where the pictures you upload and their miniatures are stored.
- Clone this Github repository:
git clone https://github.com/kmollee/gallery.git
cd Django_photo_gallery
- Install the pre-requisites:
pip install -r requirements.txt
- Copy the settings template to create your local settings:
cp gallery/settings_local.template gallery/settings_local.py
- Edit the local settings file with your settings:
vi gallery/settings_local.py
- Create the database and admin user:
python manage.py syncdb
- Collect static files:
python manage.py collectstatic
-
Configure your web server to serve static files from the directory specified in the local settings file. See the following Django documentation
-
Launch the application using the built-in runserver, or deploy using gunicorn, which is the application server of choice:
web: gunicorn gallery.wsgi --log-file -
If you find a bug (the website couldn't handle the query and / or gave undesired results), kindly open an issue here by including your search query and the expected result.
If you'd like to request a new function, feel free to do so by opening an issue here. Please include sample queries and their corresponding results.
~ julia Mwangi
Click this link to view licence information.