Skip to content

Instantly share code, notes, and snippets.

@SoyDiego
Created June 7, 2020 14:37
Show Gist options
  • Save SoyDiego/9b195141f138fe396665abfee9636331 to your computer and use it in GitHub Desktop.
Save SoyDiego/9b195141f138fe396665abfee9636331 to your computer and use it in GitHub Desktop.
Deploy a Heroku

Deploy a Heroku

  1. Nos logueamos desde consola abriendo la terminal y tipeando: heroku login.

  2. Creamos el proyecto: heroku create --remote NOMBREPROYECTO.

  3. Con git remote -v veremos si se ha creado nuestro proyecto remoto de Heroku y tambien veremos el de github.

  4. Con git push NOMBREPROYECTO master lo subimos a Heroku.

NOTA: Si nuestro repositorio está en una subcarpeta debemos hacer exactamente lo mismo excepto el punto 4 que debería ser reemplazado por: git subtree push --prefix TUCARPETA/TUSUBCARPETA NOMBREPROYECTO master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment