2

I need a way of running remote commands inside my default service running on app engine flexible environment. The only way I can see (outside of connecting directly to the database) of running migrate is setting the instance to debug, ssh into the instance, attach to the docker container and then finally fun the management command.

Is there a better way?

Ben Davis
  • 617
  • 2
  • 11
  • 19
  • Why not just run migrate locally, connecting directly to the database? – jarmod Nov 10 '16 at 23:31
  • @jarmod how is this being done .. Been struggling for a while and I am stuck – kenju254 Apr 22 '17 at 17:41
  • I was assuming that the database could be reached from the developer's laptop so maybe he could simply run a copy of the Django app locally on the laptop, configured to talk to the real database, and then run manage.py migrate. – jarmod Apr 23 '17 at 15:44

0 Answers0