Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 972 Bytes

README.md

File metadata and controls

34 lines (25 loc) · 972 Bytes

Setup From Scratch

# Set a app name
app_name=redash-new

# Update to heroku beta in order to use manifests
heroku update beta
heroku plugins:install @heroku-cli/plugin-manifest

# Create Heroku app
heroku create $app_name --manifest -t zensum --region eu --space zensum

# Link git to heroku git
heroku git:remote --app $app_name

# Push to heroku git (heroku builds and does magic)
git push heroku master

# Setup db
heroku run "exec /app/bin/docker-entrypoint create_db" --app $app_name

How ?

Heroku is using the config in heroku.yml like the spec in here

  • Building one image called web
  • Adding REDIS and POSTGRES
  • Running a web dyno with command server
  • Running a worker dyno with command worker

Sources