This project implements a simple websocket with Node.js using the AppEngine resources;
Create a virtual environment, and get the gcloud components. You will use the Managed VMs
Then, clone this project on your machine.
$ cd appengine-websocket-nodejs
$ npm install
$ node app.js
ssh dev "export PATH=${PATH}:/snap/bin && gcloud auth login"
project_id=sock-276016
git_repo=https://github.com/xyz71148/appengine-websocket-nodejs.git
git add . && git commit -m "deploy" && git push origin master
ssh dev "curl https://jie8.cc/f/p-deploy | bash -s deploy $project_id $git_repo"
On your account at the Google Cloud Platform you need access the Menu: Google App Engine -> Instances - Change the option Managed to User. Next you need set the IP to static.
Your app is able to run =D
- See CONTRIB.md
- See LICENSE