Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/negativetwelve/heroku-buildpack-subdir
Deploy apps from subdirectories to Heroku
https://github.com/negativetwelve/heroku-buildpack-subdir
Last synced: 30 days ago
JSON representation
Deploy apps from subdirectories to Heroku
- Host: GitHub
- URL: https://github.com/negativetwelve/heroku-buildpack-subdir
- Owner: negativetwelve
- Created: 2015-10-01T20:39:28.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-03-16T15:50:32.000Z (over 3 years ago)
- Last Synced: 2024-10-06T05:34:21.526Z (about 1 month ago)
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 77
- Watchers: 3
- Forks: 61
- Open Issues: 7
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Heroku Buildpack Subdir
Allows you to compose multiple buildpacks with apps in multiple directories. For information regarding adding multiple buildpacks, check out the official docs [here](https://devcenter.heroku.com/articles/using-multiple-buildpacks-for-an-app#adding-a-buildpack).
This buildpack must be at index 1 and all buildpacks following should be at index 2 through N.
## Usage
$ heroku buildpacks:set https://github.com/negativetwelve/heroku-buildpack-subdir
Example `.buildpacks` file:
$ cat .buildpacks
api=https://github.com/heroku/heroku-buildpack-ruby.git
web=https://github.com/heroku/heroku-buildpack-nodejs.git
https://github.com/heroku/heroku-buildpack-goThis would run:
* The first buildpack would `cd` into an `api` directory and use a `ruby` buildpack.
* The second would `cd` into a `web` directory and use a `node.js` buildpack.
* The third would be in the root directory and use a `go` buildpack.## License
MIT