Create simple website for deploy on Google App Engine (Standard Environment) with Yii2
$ git clone https://github.com/prawee/yii2-gae-web
$ cd yii2-gae-web
$ composer installUpdate environment variable for your local
$ cp .env.dist .envUpdate environment variable for your GAE
$ cp app.yaml.dist app.yaml
$ cp uat.yaml.dist uat.yaml
# update configure on your local
$ cp cron.yaml.dist cron.yamlUpdate configure on your local
$ cp config/main-local.php.dist config/main-local.phplocalhost
$ php -S localhost:8080 -t weblocalhost with google app engine
$ dev_appserver.py app.yaml# prod
$ gcloud app deploy
# uat
$ gcloud app deploy uat.yaml# local
GET localhost:8080
GET localhost:8080/site/login
GET localhost:8080/site/logout# gae
GET https://<project-id>.appspot.com/site
GET https://<project-id>.appspot.com/site/login
GET https://<project-id>.appspot.com/site/logout