Run and interpret unit tests for a Flask application to verify functionality. Deploy web applications using industry-standard tools and practices.
Flaskr & Test-Driven Deplyment (TDD)
A mini blog website, built using Flask and hosted on Render.
Created from: https://github.com/shuruizUofT/flaskr-tdd
Instructions to deploy:
-
Create a Render Web Service
-
Go to Render Dashboard
-
Click New → Web Service.
-
Connect your repo.
-
Set Environment to Python 3.
-
Set the Start Command to: gunicorn app:app
-
Configure Settings
-
Region: pick closest.
-
Instance type: Free tier is enough to test.
-
Environment Variables: Add any secrets (API keys, etc.).
-
Deploy
-
Render will install dependencies from requirements.txt.
-
It will then run the start command.
-
After a few minutes, you’ll get a live URL