This application is built on python Django framework. It is an application that shows different pictures in two categories: Travel and Food. There a search button and pictures can be searched according to category, name or location recorded.
##Prerequisites -Ubuntu Software -Python3.6 -Postgres -python virtualenv
1. Python 3.6
2. HTML
3. Bootstrap 4
4. JavaScript
5. Heroku
6. Postgresql
7. Django
- Clone the Repo from here [https://github.com/ephantuskaranja/Ranchos.git]
-cd to the root directory of the app, open terminal then: -use this command: virtualenv -p python3.6 virtual
- Install dependancies that will create an environment for the app to run. pip install -r requirements.txt
- psql
- CREATE DATABASE ranchos;
SECRET_KEY = '<Secret_key>'
DBNAME = 'ranchos'
USER = '<Username>'
PASSWORD = '<password>'
DEBUG = True
ensure you change this file with your database info, then
- python3.6 manage.py makemigrations Photomania
- python3.6 manage.py migrate
-python3.6 manage.py runserver
No bugs so far. If found, email me at [email protected]
Incase you want to contribute, kindly feel free to clone the repo and pull request to merge.
Contact me on [email protected] for any comments, reviews or advice.
Copyright (c) Ephantus Karanja MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.