You can continue with your own code from the previous day or download the starting .zip files from this lesson. If you are using your own code you need to make two changes.

Add a .gitignore file to your project

Include the .gitignore from the starting project that you can download from this lesson's resources. That way you won't be uploading any unnecessary files to Github during the next lessons. For example, we won't be uploading our posts.db, the venv folder, or the hidden PyCharm .idea folder.


Install the required packages (and versions)

If you're using your own project, replace the requirements.txt with the one from the starting files. That way the version numbers of the packages match what what I've used for deployment and you'll avoid deployment errors. For example, the very latest (minor) version of Flask was not available on render.com.

Note, the requirements.txt also includes two additional packages gunicorn and psycopg2-binary which we'll be using in the next lessons.


Bootstrap_Flask==2.3.3
Flask_CKEditor==0.5.1
Flask_Login==0.6.3
Flask-Gravatar==0.5.0
Flask_WTF==1.2.1
WTForms==3.0.1
Werkzeug==3.0.0
Flask==2.3.2
flask_sqlalchemy==3.1.1
SQLAlchemy==2.0.25
gunicorn==21.2.0
psycopg2-binary==2.9.9