Heroku: Difference between revisions

From Wiki RB4
Line 3: Line 3:


==Concepts==
==Concepts==
* all Heroku applications run in a collection of lightweight Linux containers called '''Dynos'''.
* all Heroku applications run in a collection of lightweight Linux containers called '''Dynos'''. To find out the dynos:
heroku ps


==Example==
==Example==

Revision as of 17:41, 16 February 2022

Installation

Concepts

  • all Heroku applications run in a collection of lightweight Linux containers called Dynos. To find out the dynos:
heroku ps

Example

PS C:\Temp\python-getting-started> heroku login
  • clone example
  • create app and push code
  • start the app
PS C:\Temp\python-getting-started> heroku ps:scale web=1
Scaling dynos... done, now running web at 1:Free
PS C:\Temp\python-getting-started> heroku open
// opens https://arcane-peak-78109.herokuapp.com/

Resources