This is an application where users can sign in and get the latest news and features from Moringa School. Users can subscribe to the mailing list to get the latest news and features.
http://mtr1bune.herokuapp.com/
- Python 3.6
- HTML
- Bootstrap 4
- Heroku
- Postgresql
git clone git@github.com:newtonkiragu/mtribune-hosting.git && cd mtribune-hostingpython3.6 -m virtualenv virtualsource virtual/bin/activateCreate 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 tribune;python3.6 manage.py makemigrations && python3.6 manage.py migratepython3.6 manage.py runserverOpen localhost:8000
To deploy the application, please follow the instructions in this gist
Please read this comprehensive guide on how to contribute. Pull requests are welcome :-)
Create an issue mentioning the bug you have found
- cannot subscribe to email list in live application
Contact Newton Karanu for further help/support
MIT
Copyright (c)2018 Newton Karanu