-
Notifications
You must be signed in to change notification settings - Fork 1
Gotchas
There are a number of "gotchas" to keep in mind on the willet-referrals platform.
There are a few notes regarding app configuration.
app.yaml
With Google App Engine (GAE), the basic information to control your app is stored in the app.yaml file in the base of the repository. Because the app.yaml specifies the GAE "Application Name" that you will push to when you deploy your code, each developer usually wants to maintain their own app.yaml file. As such, app.yaml is included in the .gitignore.
For a basic app.yaml please see README in the base of the repository.
util/consts.py
This file contains all the application constants, such as API keys or debug flags.
util/local_consts.py
Because a developer may want to test some local settings (such as setting the DOMAIN to be their development environment) but we don't want them changing util/consts.py and accidentally deploying their development settings, we recommend you create util/local_consts.py in your local branch. It will be automatically included by util/consts.py
Ask yourself: Did you add a new URI that you are trying to hit?
If YES, the URI router in memcache needs to be updated! Go to /admin/reload_uris and try again!
If NO, then you have a syntax error and the logs are eating it up. Good luck.
Go to /link/init.
It's not in memcache yet! Use the memcache viewer / clearer at /admin/... ... memcache?
Apps are memcached via app-UUID AND STORE_URL