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 runtime configuratin guides #4112

Merged
merged 1 commit into from
Jan 8, 2021

Conversation

wojtekmach
Copy link
Contributor

No description provided.

@@ -87,32 +87,11 @@ Release created at _build/prod/rel/my_app!

And starting the release now should also successfully start the web server! Now you can get all of the files under the `_build/prod/rel/my_app` directory, package it, and run it in any production machine with the same OS and architecture as the one that assembled the release. For more details, check the [docs for `mix release`](https://hexdocs.pm/mix/Mix.Tasks.Release.html).

But before we finish this guide, there are two features from releases most Phoenix applications will use, so let's talk about those.

## Runtime configuration
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I decided to simply remove this section however also considered something like this:

## Runtime configuration

If you're using Elixir 1.11+ and already have a `config/runtime.exs` file, you can skip this section as your runtime configuration is properly set up.
If you have an existing Phoenix app with `config/prod.secret.exs` or `config/releases.exs`, read on.

(...)

@josevalim josevalim merged commit b973280 into phoenixframework:master Jan 8, 2021
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

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

Successfully merging this pull request may close these issues.

2 participants