google app engine - How to update single files in GAE? -
the following command upload whole project google app engine:
appcfg.py -r update c:/users/user/desktop/myproject/
however, made corrections locally single file of project called index.php , update server version without uploading whole project, large.
i have tried:
appcfg.py update c:/users/user/desktop/myproject/index.php
(notice removed -r , added file name @ end) prints:
usage: appcfg.py [options] update appcfg.py: error: directory not contain index.yaml configuration file.
any idea?
my inexperience google app engine made me post question, got answer on own after little while.
hahahaha discovered did not know before. after making changes index.php file , decided redeploy whole thing. time took less minute redeploy server (the first time took on 10).
it seems local appgine scans local changes , submits instead of whole project!
therefore re-running:
appcfg.py -r update c:/users/user/desktop/myproject/
will update files changed only.
Comments
Post a Comment