Basic samples of hhvm apps that run on Google App Engine using the hhvm-proxygen offical Docker image.
These are just a few links I found really helpful:
- https://docs.hhvm.com/hack/getting-started/starting-a-real-project
- https://github.com/hhvm/hhvm-autoload
- https://hub.docker.com/r/hhvm/hhvm-proxygen
- Create a new project
gcloud projects create [YOUR_PROJECT_ID] --set-as-default
- Initialize your App Engine app with your project and choose its region:
gcloud app create --project=[YOUR_PROJECT_ID]
- Change the directory to where you cloned the repo on your machine and then deploy:
gcloud app deploy
Deployment takes awhile, so use this as an opportunity to walk a little bit.
- Once that is done deploying, you can view the live app at https://[YOUR_PROJECT_ID].appspot.com:
gcloud app browse
Should be noted that if you want to cleanup your resources and stop billing, the best way is to delete the project. Manage GCP resources