I'm looking to switch from AWS to GCP with Managed VMs, CloudSQL, and 
Django and have a question on deployment.

With our AWS Elastic beanstalk we include some config in out .ebextensions:

container_commands:

01_upgrade:
command: "/opt/python/run/venv/bin/pip install -r requirements.txt 
--upgrade"
02_syncdb:
command: "/opt/python/run/venv/bin/python manage.py syncdb --noinput"
leader_only: true
03_migrate:
command: "/opt/python/run/venv/bin/python manage.py migrate --noinput"
leader_only: true
04_collectstatic:
command: "/opt/python/run/venv/bin/python manage.py collectstatic --noinput"


Is there an equivalent when deploying with `gcloud preview app deploy`?

In the interim I've ran the migration connecting my machine to the remote 
database, but that can run very slow.

Thanks for any direction,

~ aaron

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/fc79fd37-101d-45c8-bc62-d80f9de8cd43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine] D... Aaron Madison

Reply via email to