github.com/cayleygraph/cayley@v0.7.7/appengine/README.md (about) 1 # About appengine 2 3 This directory contains a appengine deployable cayley graph instance. 4 5 # Running/testing traditional appengine locally 6 7 Install the latest appengine sdk, and ensure that your local version of go 8 matches the same version obtained from `goapp`. 9 10 Note: if you use a more recent version of Go locally, `goapp` get might 11 accidentally copy the wrong files from the local `$GOPATH`. 12 13 ```sh 14 $ cd $GOPATH/src/github.com/cayleygraph/cayley/appengine 15 16 # check go version 17 $ go version 18 19 # check goapp version 20 $ goapp version 21 22 # install dependencies 23 $ goapp get 24 25 # ensure that goapp can build 26 $ goapp build 27 28 # test locally 29 $ goapp serve 30 ``` 31 32 # Running/testing flexible appengine locally 33 34 The latest appengine flexible environment can be tested instead of the 35 traditional environment by doing the following: 36 37 ```sh 38 $ go generate 39 40 $ goapp serve app.flexible.yaml 41 ``` 42 43 # Deploying to traditional appengine environment 44 45 ```sh 46 $ goapp deploy -version 1 -application <MY_PROJECT_ID> 47 ``` 48 49 # Deploying to flexible appengine environment 50 51 ```sh 52 # install aedeploy if not installed 53 $ go get -u google.golang.org/appengine/cmd/aedeploy 54 55 $ go generate 56 57 # deploy 58 $ aedeploy gcloud app deploy app.flexible.yaml 59 ```