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

update Heroku deployment guide with webpack #2827

Closed
happysalada opened this issue Apr 1, 2018 · 2 comments
Closed

update Heroku deployment guide with webpack #2827

happysalada opened this issue Apr 1, 2018 · 2 comments
Assignees
Milestone

Comments

@happysalada
Copy link

The current deployment process to heroku won't work with the current phoenix static assets buildpack out of the box. It needs a bit of customization. I was wondering if there is a plan to update the buildpack or if the docs should be updated.

Bascially it's a matter of adding a phoenix_static_buildpack.config file with the following

compile="compile"

and having a compile file (just like a procfile, it's just a file named compile) with the following

yarn deploy
cd ..
mix phx.digest

If the docs need to be updated, I have time to make a PR.

@Gazler Gazler self-assigned this Apr 3, 2018
@chrismccord
Copy link
Member

It should be updated as part of the 1.4 release. Thanks!

@happysalada
Copy link
Author

this was closed by #2834

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

No branches or pull requests

3 participants