Cannot find appcfg.py or dev_appserver.py?

2020-03-11 02:36发布

My computer says...

"-bash: appcfg.py: command not found"

What is wrong?

I can run my application using google-app-engine-launcher and I have python pre-installed.

I am trying to upload my app using "appcfg.py update myapp"

I am new to Mac development.

7条回答
smile是对你的礼貌
2楼-- · 2020-03-11 03:30

This is how my path dir looks like: Home/Brice/google_projects/google_appengine

I store both the google_appengine and my google_apps in my google_projects folder

In terminal: (While in my google_projects folder)

upload to localhost:

google_appengine/dev_appserver.py appname

upload to GAE:

google_appengine/appcfg.py update appname

and replace appname with the name of your app folder

Hope that helps!

查看更多
登录 后发表回答