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.
If someone (like me) comes across this more recently due to appcfg.py
and dev_appserver.py
still appearing frequently in the documentation:
0.9.68 (2015/07/08)
[...]
- The standalone App Engine SDKs are no longer distributed through the Cloud SDK.
- App Engine functionality can still be used through the
gcloud preview app
command group.- [...]
- If you need to use appcfg or dev_appserver directly, these are still available in the App Engine SDK downloads that can be found here: https://cloud.google.com/appengine/downloads
(from google-cloud-sdk/RELEASE_NOTES
)
In App Engine launcher there is a menu option called "Make Symlinks..." that adds symlinks for the various App Engine utility commands, like appcfg.py.
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!
Try: ./appcfg.py
Current dir is usually not part of path.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With