Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Deploy new Kitty Items demo API and events worker to Heroku #52

Closed
3 tasks
psiemens opened this issue Mar 30, 2021 · 2 comments
Closed
3 tasks

Deploy new Kitty Items demo API and events worker to Heroku #52

psiemens opened this issue Mar 30, 2021 · 2 comments
Assignees

Comments

@psiemens
Copy link
Contributor

Context

PR #27 merges in updates that require the events worker to always been running.

The current Heroku deployment does not include a dyno for the events worker.

Suggest a Solution

Create a Procfile with the following entries (inspired by this comment):

web:    node api/dist/index.js
worker: node api/dist/index.js --worker

This requires a change to the api project to make the worker to be runnable as a separate process.

Definition of Done

  • kitty-items/api is updated to allow for separate API and worker processes
  • Procfile is created with web and worker entries
  • Demo Heroku deployment has been updated with the new Procfile
@10thfloor
Copy link
Contributor

Nice. I can add this as part of #54 as well!

@10thfloor
Copy link
Contributor

Closed by #54

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants