Forums

Wagtail CMS site deployed to PythonAnywhere

I put together a tutorial of how I am developing Wagtail CMS sites locally and then deploying it to PA using a git push deployment.

There's a GitHub version of the tutorial here: https://github.com/wagtail-examples/tutorial-deploy-pythonanywhere-paid and I also put it on my own website here: https://www.nickmoreton.co.uk/articles/deploy-wagtail-cms-to-pythonanywhere/

I was inspired by this blog post: https://blog.pythonanywhere.com/87/

If anyone has any feedback about it please feel free to drop me a note here :) I hope it helps someone!

It's very nice! If you update your account to newer system image we could migrate your MySQL to version 8. That would remove limitations mentioned in the tutorial and match the experience of someone with newly created account.

Thank you fjl that's something I am working on just now and thanks for the offer but Im happy to manage that my self. In fact the sites I have already up and running need some other updates done before I can move to the latest python etc. I'll update the tutorial as soon as I can as well.

Ah I was logged in with my other account, The above reply was nickmoreton (me)

You can change your system image (and potentially, but not necessarily python version as a result of that) on your own but MySQL migration requires action on our side.

As I had an older account, I decided to open a new one to move the sites to, so for the sites I have moved so far and converted to using git push to deploy them I used the suggested backup and restore to move the databases. Here They are low traffic sites and a short amount of down time is OK for them.

Do you still need help migrating to MySQL8?

Hi sboydeu Thanks for checking in but I have now completed the migrations as part of moving the sites to a new account. All is working well. I also updated the tutorial to reflect using Mysql v8 :)

Thanks for letting us know!