Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Everything but project root deleted #2

Open
yowzadave opened this issue Oct 10, 2019 · 2 comments
Open

Everything but project root deleted #2

yowzadave opened this issue Oct 10, 2019 · 2 comments

Comments

@yowzadave
Copy link

Set PROJECT_PATH environment variable to point to project root. It will be promoted to slug's root, everything else will be erased.

This doesn't work for my project—I have a server in backend, and static files in frontend that I'd like the server to be able to run. But using this buildpack causes everything in frontend to be deleted. Is this just an unsolvable Heroku limitation?

@joeyfigaro
Copy link

@yowzadave did you end up just moving your assets to backend?

@yowzadave
Copy link
Author

Hi @joeyfigaro -- I realized I didn't need this buildpack. The solution for me was to just use the --prefix flag when running my start script:

npm start --prefix path/to/your/app

Hope this helps!

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

No branches or pull requests

2 participants