Heroku
- Ejemplo de como Desplegar una Aplicación Express sobre Node.JS en Heroku
- Getting Started on Heroku with Node.js
- La rama heroku del repo how-jquery-works-tutorial
Every Heroku app runs in at least two environments:
- on the Heroku platform (we’ll call that
production
) and - on your local machine (
development
).
En este artículo Managing Multiple Environments for an App se habla de como ahcer mas fácil el proceso de despliegue:
- The solution is to have a staging environment that is as similar to
production
as is possible. - This can be achieved by creating a second Heroku application that hosts your staging application.
- With staging, you can check your code in a
production
-like setting before having it affect your actual users. - As you already deploy with git, setting up and managing these multiple remote environments is easy.
- on the Heroku platform (we’ll call that
El artículo Collaborating with Other Developers on Your App explica como poner a los otros miembros del equipo como colaboradores en tu app. Básicamente:
- Other developers can be invited to collaborate on your app by their email address:
$ heroku access:add joe@example.com Adding joe@example.com to myapp collaborators... done
- Use the heroku access command to see the list of current collaborators:
$ heroku access === theirapp Collaborators adam@example.com owner joe@example.com collaborator
- You can revoke a collaborator’s access using the heroku access:remove command:
Como colaborador se debe:$ heroku access:remove joe@example.com Removing joe@example.com from theirapp collaborators... done
- You should clone the app locally. The invitation email includes the name of the app.
In this example, the app name is
theirapp
.$ heroku git:clone -a theirapp
- It’s strongly recommended that you get access to the canonical source code repository for the application (for instance on GitHub) and then use
to add a git remote to your checkout$ heroku git:remote
- Other developers can be invited to collaborate on your app by their email address: