Different ways to launch locally

The following commands both allow you to launch your web app locally… but what’s the difference?

go run main.go
dev_appserver.py app.yaml

go run main.go is using only Go tooling to build and run your application.

dev_appserver.py app.yaml is running Google App Engine specific stuff and then presumably somewhere inside that python file it is building and running your Go code. I don’t know what all this does behind the scenes, but it is basically a tool provided by GAE on top of the Go tooling.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.