Following the mega flask tutorial created by Miguel Grinberg I have implemented some basic functionality towards a personal blog website. As this is a learning experience I will find myself reinventing the wheel when it comes to implementation that is found on most popular blogging websites.
The website is hosted on a DigitalOcean Droplet which can be found here
There is still some functionality I would like to add, but in the meantime here is the installation instructions if you would like to test it yourself.
git clone git@github.com:chis/chis.digital.gitpython -m venv venvsource venv/bin/activatepip install -r requirements.txtflask db init
flask db migrate -m "First migration"
flask db upgradeflask shell
>>> u = User(username="yourname", email="youremail")
>>> db.session.add(u)
>>> db.session.commit()
>>> u = User.query.get(1)
>>> u.set_password("yourpassword")
>>> db.session.add(u)
>>> db.session.commit()flask run