This is a web neighbourhood security app that allows users to create a neighbourhood and post security allerts.
- Python 3.6
- HTML
- Bootstrap 4
<!-- - Heroku -->
- Postgresql
git clone https://github.com/BenkiKuu/djangoip4.git && cd mtribune-hosting
python3.6 -m virtualenv virtual
source virtual/bin/activate
Create a .env
file and paste paste the following filling where appropriate:
SECRET_KEY='<Secret_key>'
DBNAME='tribune'
USER='<Username>'
PASSWORD='<password>'
DEBUG=True
EMAIL_USE_TLS=True
EMAIL_HOST='smtp.gmail.com'
EMAIL_PORT=587
EMAIL_HOST_USER='<your-email>'
EMAIL_HOST_PASSWORD='<your-password>'
Install dependancies that will create an environment for the app to run
pip install -r requirements.txt
In a new terminal, open the postgresql shell with psql
.
CREATE DATABASE nyumbakumi;
python3.6 manage.py makemigrations && python3.6 manage.py migrate
python3.6 manage.py runserver
Open localhost:8000
To deploy the application, please follow the instructions in this gist Done by my technical mentor Newton Karanu.
Please read this comprehensive guide on how to contribute. Pull requests are welcome :-)
Create an issue mentioning the bug you have found
- the app is glitchy dislaying comments and registered businesses
Contact Leo Igane for further help/support
MIT
Copyright (c)2018 Leo Igane