My website is now up and running on chloe-django-blog.nw.r.appspot.com.

EDIT: the blog hosted on Google Cloud is not working since the free trial ended and the SQL database has been stopped. The same blog is available at chloevincent.pythonanywhere.com.

I would now like to deploy from Github. But first I need to resolve some issues:

Update .gcloudignore

On a related note, when I deployed to Google Cloud using gcloud app deploy, many files were uploaded. I need to change the .gcloudignore file to include entries that are in the .gitignore:

*.pyc
*~
/.vscode
__pycache__
myvenv
db.sqlite3
/static/admin #we need /static/css
.DS_Store

When I deploy, the changes are taken into account (you can make sure of that by ignoring /static/css, the style is reset).

Update chloe-django-blog.appspot.com

At the moment only chloe-django-blog.nw.r.appspot.com is updated when I deploy the app:

target url:      [https://chloe-django-blog.nw.r.appspot.com]

Actually it is well updated, I only needed to add chloe-django-blog.appspot.com to the ALLOWED_HOSTS in settings.py, or change the line to:

ALLOWED_HOSTS = ['127.0.0.1','.pythonanywhere.com', '.appspot.com']

TO BE CONTINUED

Deploying from Github will be the next step and I will change this post accordingly.