Skip to content

Commit

Permalink
Merge pull request #193 from patchoulish/master
Browse files Browse the repository at this point in the history
Update README: Add guide for multiple process types
  • Loading branch information
jincod authored Nov 11, 2024
2 parents 354f763 + 009e6e3 commit 1d090ec
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,15 @@ heroku buildpacks:add --index 1 heroku/nodejs
heroku config:set HEROKUISH=true
```

## Multiple Process Types
If you have multiple projects in a monorepo and wish to treat them as separate process types:
1. Build the projects simultaneously by setting the `PROJECT_FILE` config var to a solution file that references them.
2. Provide a custom `Procfile` that enumerates the desired process types, for example:
```Procfile
web: cd $HOME/heroku_output && ./MySolution.Web
worker: cd $HOME/heroku_output && ./MySolution.Worker
```

## Example

[ASP.NET Core Demo App](https://github.com/jincod/AspNet5DemoApp)
Expand Down

0 comments on commit 1d090ec

Please sign in to comment.