Car-Blog is a web application blog meant for car enthusiasts who seek the latest news on super cars. Users can subscribe to the blog to get the latest updates on articles.
The blog supports comments from readers and blog writers can determine whether to delete the comments or not. Users can also delete blog posts at their discretion.
After the writer has posted a new blog post, subscribers will receive an email notification with a link to the blog post.
Get the specs here
- Python 3.6
- Ubuntu software
Run the following command on the terminal:
git clone https://github.com/DevWaweru/Car-Blog.git && cd Car-Blog
Install Postgres
Run the following commands in the same terminal:
sudo apt-get install python3.6-venv
python3.6 -m venv virtual
source virtual/bin/activateInstall dependancies that will create an environment for the app to run
pip3 install -r requirements
export DATABASE_URL='postgresql+psycopg2://<your-username>:<your-password>@localhost/carblog'
export SECRET_KEY='Your secret key'
export DATABASE_URL_TEST='postgresql+psycopg2://<your-username>:<your-password>@localhost/carblog_test'
export MAIL_SERVER='smtp.googlemail.com'
export MAIL_PORT=587
export MAIL_USE_TLS=1
export MAIL_USERNAME=<your-email>
export MAIL_PASSWORD=<your-password> python manage.py db init
python manage.py db migrate -m "initial migration"
python manage.py db upgradeIn the same terminal type:
python3 manage.py server
Open the browser on http://localhost:5000/
Sending batch emails bug If others are found, drop me a message
- Python 3.6
- HTML
- Bootstrap 4
- JavaScript
- Heroku
- Postgresql
Contact me on developer.waweru@gmail.com for any comments, reviews or advice.
Copyright (c) Richard Waweru