Skip to content

Blog having admin priviligies, commenting users and working contact page, prepared with Flask, Bootstrap, WTForms

Notifications You must be signed in to change notification settings

HasanResul/blog-with-users

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BLOG WEBSITE

Using:

  • FLASK
  • BOOTSTRAP
  • WTFORMS
  • SQLALCHEMY
  • SMTLIB
  • GRAVATAR
  • CKEDITOR

Features:

  • Responsive
  • Admin privileges to add and delete posts
  • User's can be signed
  • Users can comment
  • Users have avatars
  • Posts with images
  • Working contact form

TO-DOs Before Running or Deploying

  • First registered user will be admin
  • After registration, admin and users need to login to post or comment
  • Change the 'Your Blog' text in the html files
  • To be able to send emails from contact form;
    • Assign an email address to 'gmail' variable
    • Assign an email address to 'to_addrs' argument
    • Either create an environment variable called 'GMAIL_PASSWORD' or enter the password directly to the 'password_gmail' variable.

Guidance For Deploying on Render.com

  1. Register for free account.
  2. From New+ button create a new Web Service
  3. Give access to your GitHub repos for Render
  4. Choose the repo you are trying to deploy
  5. Name the app
  6. Choose the free plan and 'Create Web Service'
  7. From New+ button create a new PostgresSQL
  8. Name the database
  9. Copy 'Internal Connection String' (ICS)
  10. Choose the free plan and 'Create Database'
  11. Go back to the Web Service
  12. Choose 'Environment'
  13. Add a new variable called DATABASE_URL
  14. Paste ICS as the value
  15. If ICS starts with 'postgres', change it to 'postgresql'

About

Blog having admin priviligies, commenting users and working contact page, prepared with Flask, Bootstrap, WTForms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published