| Index: appengine/predator/DEV.md
|
| diff --git a/appengine/predator/DEV.md b/appengine/predator/DEV.md
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9a47dfad3b216fc2e75eafbb032e940559280b3a
|
| --- /dev/null
|
| +++ b/appengine/predator/DEV.md
|
| @@ -0,0 +1,34 @@
|
| +# Contribution
|
| +
|
| +[TOC]
|
| +
|
| +# How to checkout code and make change?
|
| +
|
| +Follow the general infra development flow [here](../../doc/source.md)
|
| +
|
| +# How to run Predator locally?
|
| +
|
| +From command line, run:
|
| + infra/appengine/predator/scripts/run.sh run
|
| +
|
| +Then open http://localhost:8080 for the home page.
|
| +
|
| +# How to run unittests?
|
| +
|
| +From command line, run:
|
| + infra/appengine/predator/scripts/run.sh test
|
| +
|
| +If a code path branch is not tested and no line number is shown in the command
|
| +line output, you could check the code coverage report shown in the output.
|
| +
|
| +# How to deploy to appengine?
|
| +
|
| +For testing on the staging app, deploy to predator-for-me-staging.appspot.com:
|
| + infra/appengine/predator/scripts/run.sh deploy-test-staging
|
| +
|
| +For staging test on the product app, deploy to predator-for-me.appspot.com:
|
| + infra/appengine/predator/scripts/run.sh deploy-test-prod
|
| +
|
| +For release, deploy to predator-for-me.appspot.com:
|
| + infra/appengine/predator/scripts/run.sh deploy-prod
|
| +Please carefully follow the messages by the script for the deployment.
|
|
|