Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/techgaun/heroku-buildpack-subdir-to-root
A simple heroku buildpack to move sub directory to root of project
https://github.com/techgaun/heroku-buildpack-subdir-to-root
buildpack heroku
Last synced: about 2 months ago
JSON representation
A simple heroku buildpack to move sub directory to root of project
- Host: GitHub
- URL: https://github.com/techgaun/heroku-buildpack-subdir-to-root
- Owner: techgaun
- License: apache-2.0
- Created: 2018-09-13T03:52:57.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-08T14:53:56.000Z (almost 4 years ago)
- Last Synced: 2024-04-14T06:05:35.621Z (9 months ago)
- Topics: buildpack, heroku
- Language: Shell
- Size: 19.5 KB
- Stars: 5
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# heroku-buildpack-subdir-to-root
> A simple heroku buildpack to move sub directory to root of projectThis buildpack is supposed to be used as the first buildpack
on your workspace containing multiple projects.### Usage
- Add `heroku-buildpack-subdir-to-root` as first buildpack
```
heroku buildpacks:add --index 1 https://github.com/techgaun/heroku-buildpack-subdir-to-root.git --app
```- Configure `PROJECT_RELATIVE_PATH`
```
heroku config:set PROJECT_RELATIVE_PATH=packages/adminWeb --app
```- Configure rest of your buildpacks
- Enjoy the working deployment
- If something does not work, feel free to create an issue
### Debugging (Not Done)
_TODO_
- Configure `SUBDIR_TO_ROOT_DEBUG` to any value
- Re-run deploy and the buildpack should print extra debug information