Heroku

Bettina Lechner

Omaha Coding Women, 2016-04-24

Attic Tech Talk, 2016-06-03

Agenda

  • What is Heroku
  • Differences to traditional hosting
  • Terms
  • How does it work
  • Add-Ons
  • Cost
  • Heroku Toolbelt
  • Demo

app

Procfile

buildpack

dyno

git push heroku master
  • read buildpack and set up environment
  • build application
  • set environment variables
  • attach add-ons
  • start processes based on Procfile

dyno(s)

➜  ~ heroku
Usage: heroku COMMAND [--app APP] [command-specific-options]

Primary help topics, type "heroku help TOPIC" for more details:

  addons    #  manage add-on resources
  apps      #  manage apps (create, destroy)
  auth      #  authentication (login, logout)
  config    #  manage app config vars
  domains   #  manage domains
  logs      #  display logs for an app
  ps        #  manage dynos (dynos, workers)
  releases  #  manage app releases
  run       #  run one-off commands (console, rake)
  sharing   #  manage collaborators on an app

Additional topics:

  2fa          #  manage two-factor authentication settings
  access       #  CLI to manage access in Heroku Applications
  buildpacks   #  manage the buildpack for an app
  certs        #  manage ssl endpoints for an app
  drains       #  display drains for an app
  features     #  manage optional features
  fork         #  clone an existing app
  git          #  manage local git repository for app
  help         #  list commands and display help
  keys         #  manage authentication keys
  labs         #  manage optional features
  local        #  run heroku app locally
  login        #  login with your Heroku credentials.
  logout       #  clear your local Heroku credentials
  maintenance  #  manage maintenance mode for an app
  members      #  manage membership in organization accounts
  orgs         #  manage organization accounts
  pg           #  manage heroku-postgresql databases
  pgbackups    #  manage backups of heroku postgresql databases
  pipelines    #  manage collections of apps in pipelines
  plugins      #  manage plugins to the heroku gem
  regions      #  list available regions
  spaces       #  manage heroku private spaces
  stack        #  manage the stack for an app
  status       #  status of the Heroku platform
  twofactor    #  manage two-factor authentication settings
  update       #  update the heroku client
  version      #  display version

Demo!

Intro to Heroku

By Bettina Helgenlechner

Intro to Heroku

  • 296