Skip to content

Commit

Permalink
Fix guides for phoenix 1.6 if not vendorizing. See phoenixframework/p…
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseshieh committed Sep 11, 2021
1 parent 31ff073 commit e4f4bcc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/source/getting-started-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -189,11 +189,15 @@ Same for nodejs
echo "node_version=14.15.4" > phoenix_static_buildpack.config
If you are using Phoenix v1.6, there is also a `mix assets.deploy` alias in your `mix.exs` that you want to invoke post compilation:
If you are using Phoenix v1.6, there is also a `mix assets.deploy` alias in your `mix.exs` that you want to invoke after installing assets. To do this, make sure you have something like this in your `assets/package.json` file.

.. code-block:: bash
echo 'hook_post_compile="mix assets.deploy && rm -f _build/esbuild"' >> elixir_buildpack.config
{
"scripts": {
"deploy": "cd ..; mix assets.deploy;"
}
}
Don't forget to commit

Expand Down

0 comments on commit e4f4bcc

Please sign in to comment.