Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.gitignore | H A D | 01-Dec-2018 | 36 | 5 | 4 | |
README.md | H A D | 01-Dec-2018 | 1.2 KiB | 60 | 41 | |
app.flexible.yaml | H A D | 01-Dec-2018 | 21 | 3 | 2 | |
app.yaml | H A D | 01-Dec-2018 | 69 | 7 | 5 | |
appengine.go | H A D | 01-Dec-2018 | 3.3 KiB | 133 | 95 | |
cayley_appengine.cfg | H A D | 01-Dec-2018 | 84 | 7 | 6 | |
main.go | H A D | 01-Dec-2018 | 141 | 12 | 5 | |
sync-assets.sh | H A D | 01-Dec-2018 | 165 | 6 | 2 |
README.md
1# About appengine 2 3This directory contains a appengine deployable cayley graph instance. 4 5# Running/testing traditional appengine locally 6 7Install the latest appengine sdk, and ensure that your local version of go 8matches the same version obtained from `goapp`. 9 10Note: if you use a more recent version of Go locally, `goapp` get might 11accidentally 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 34The latest appengine flexible environment can be tested instead of the 35traditional environment by doing the following: 36 37```sh 38# calls ./sync-assets.sh 39$ go generate 40 41$ goapp serve app.flexible.yaml 42``` 43 44# Deploying to traditional appengine environment 45```sh 46$ goapp deploy -version 1 -application <MY_PROJECT_ID> 47``` 48 49# Deploying to flexible appengine environment 50```sh 51# install aedeploy if not installed 52$ go get -u google.golang.org/appengine/cmd/aedeploy 53 54# calls ./sync-assets.sh 55$ go generate 56 57# deploy 58$ aedeploy gcloud app deploy app.flexible.yaml 59``` 60