OLD | NEW |
(Empty) | |
| 1 # Contribution |
| 2 |
| 3 [TOC] |
| 4 |
| 5 # How to checkout code and make change? |
| 6 |
| 7 Follow the general infra development flow [here](../../doc/source.md) |
| 8 |
| 9 # How to run Predator locally? |
| 10 |
| 11 From command line, run: |
| 12 infra/appengine/predator/scripts/run.sh run |
| 13 |
| 14 Then open http://localhost:8080 for the home page. |
| 15 |
| 16 # How to run unittests? |
| 17 |
| 18 From command line, run: |
| 19 infra/appengine/predator/scripts/run.sh test |
| 20 |
| 21 If a code path branch is not tested and no line number is shown in the command |
| 22 line output, you could check the code coverage report shown in the output. |
| 23 |
| 24 # How to deploy to appengine? |
| 25 |
| 26 For testing on the staging app, deploy to predator-for-me-staging.appspot.com: |
| 27 infra/appengine/predator/scripts/run.sh deploy-test-staging |
| 28 |
| 29 For staging test on the product app, deploy to predator-for-me.appspot.com: |
| 30 infra/appengine/predator/scripts/run.sh deploy-test-prod |
| 31 |
| 32 For release, deploy to predator-for-me.appspot.com: |
| 33 infra/appengine/predator/scripts/run.sh deploy-prod |
| 34 Please carefully follow the messages by the script for the deployment. |
OLD | NEW |