Skip to content

Instantly share code, notes, and snippets.

@xdrkush
Created September 1, 2020 13:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xdrkush/0559566be363529d9f6ff3126912fda1 to your computer and use it in GitHub Desktop.
Save xdrkush/0559566be363529d9f6ff3126912fda1 to your computer and use it in GitHub Desktop.

heroku-node

C'est quoi heroku ?

Heroku est une plateforme en tant que service (PaaS) permettant de déployer des applications sur le Cloud très facilement. Découvrez tout ce que vous devez savoir à son sujet : présentation, fonctionnement, différences avec AWS, avantages…

source: https://www.lebigdata.fr/heroku-definition

Comment mettre une application NodeJS sur heroku ?

  • Creer un compte heroku
  • lier notre compte github avec heroku
  • Creer un fichier Procfile (à la racine du projet)
    • dans le fichier Procfile ajouter:
      • web: node server.js
      • pusher sur github
  • Allez sur heroku et deployer notre répo github

https://dam-heroku.herokuapp.com/

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