- FLASK
- BOOTSTRAP
- WTFORMS
- SQLALCHEMY
- SMTLIB
- GRAVATAR
- CKEDITOR
- 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
- 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.
- Register for free account.
- From New+ button create a new Web Service
- Give access to your GitHub repos for Render
- Choose the repo you are trying to deploy
- Name the app
- Choose the free plan and 'Create Web Service'
- From New+ button create a new PostgresSQL
- Name the database
- Copy 'Internal Connection String' (ICS)
- Choose the free plan and 'Create Database'
- Go back to the Web Service
- Choose 'Environment'
- Add a new variable called DATABASE_URL
- Paste ICS as the value
- If ICS starts with 'postgres', change it to 'postgresql'