Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

# heroku-buildpack-subdir-to-root
> A simple heroku buildpack to move sub directory to root of project

This 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