By Jeff Musa
Jeffblog is a web application blog meant inspirational blogs and all that comes along with positivity.
The blog supports comments from readers and blog writers to determine whether to delete the comments or not. Users can also delete blog posts.
After the writer has posted a new blog post, subscribers will receive an email notification with a link to the blog post.
- Python 3.6
- Ubuntu software
Run the following command on the terminal:
git clone https://github.com/jeffmusa/Blog-IP.git && cd Blog-IP
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/activate
Install 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 upgrade
In the same terminal type:
python3 manage.py server
Open the browser on http://localhost:5000/
Sending batch emails bug
- Python 3.6
- HTML
- Bootstrap 4
- JavaScript
- Heroku
- Postgresql
Contact me on jeffmusa05@gmail.com for advice.
Copyright (c) Jeff Musa