A barebones Node.js app using Express 4.
This application supports the Getting Started with Node on Heroku article - check it out.
Make sure you have Node.js and the Heroku Toolbelt installed.
$ git clone [email protected]:heroku/node-js-getting-started.git # or clone your own fork
$ cd node-js-getting-started
$ npm install
$ npm start
Your app should now be running on localhost:5000.
$ heroku create
$ git push heroku master
$ heroku open
For more information about using Node.js on Heroku, see these Dev Center articles:
- Getting Started with Node.js on Heroku
- Heroku Node.js Support
- Node.js on Heroku
- Best Practices for Node.js Development
- Using WebSockets on Heroku with Node.js
- configurar cuenta phonegap
- vincular con cuenta de github
- crear app
- registrar la app en settings de phonegap (obtener el client_id y client_secret)
- obtener un auth token
- usarlo para vincular la app creada previamente con la cuenta de phonegap para poder buildear
we need to get
- client_id
- client_secret
- user auth_token
$ curl -X POST https://build.phonegap.com/authorize?client_id=abcdef&client_secret=123456&auth_token=789hij
to obtain
- app_access_token
$ GET https://build.phonegap.com/api/v1/me?access_token=123456