diff --git a/Makefile b/Makefile index a8a8e91..e64cc75 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: all test clean run-dev deploy deploy_with_dispatch deploy_build +.PHONY: all test clean run-dev deploy deploy_build all: test @@ -6,10 +6,15 @@ run-dev: config.py lib dev_appserver.py dispatch.yaml app.yaml worker.yaml deploy: deploy_build - appcfg.py --no_cookies update app.yaml worker.yaml - -deploy_with_dispatch: deploy_build - appcfg.py --no_cookies update app.yaml worker.yaml dispatch.yaml + # If you are running into permission issues and see a message like this: + # You do not have permission to modify this app (app_id=u'foobar'). + # then try adding --no_cookies to the commands below + appcfg.py update app.yaml worker.yaml + appcfg.py update_dispatch . + appcfg.py update_queues . + appcfg.py update_indexes . + # If you are using cron.yaml uncomment the line below + # appcfg.py update_cron . deploy_build: config.py clean lib test @echo "\033[31mHave you bumped the app version? Hit ENTER to continue, CTRL-C to abort.\033[0m" diff --git a/README.md b/README.md index 6c89204..5d369ef 100644 --- a/README.md +++ b/README.md @@ -132,15 +132,11 @@ version of worker.yaml. This version number is specific to the worker module and is independent of the main app version. When you bumped versions in the appropriate files you can deploy your changes by running -make deploy. If you have modified [dispatch.yaml](dispatch.yaml), you need to -use the make deploy_with_dispatch command instead. +make deploy. Once your code has been uploaded to Google, you must activate the newly deployed version in the [Developer Console](https://console.developers.google.com/). Then you're done! -If you've modified cron.yaml you have to run appcfg.py update_cron app-directory -in order for your changes to take effect. For more information checkout [https://cloud.google.com/appengine/docs/python/config/cron](https://cloud.google.com/appengine/docs/python/config/cron). - ## API Yelp Love also ships with an API which will be available under [https://project_id.appspot.com/api](https://project_id.appspot.com/api). diff --git a/cron.yaml b/cron.yaml.example similarity index 100% rename from cron.yaml rename to cron.yaml.example