chore: Update Elixir Phoenix configuration and deployment instructions

This commit is contained in:
Andras Bacsai
2024-09-10 12:46:50 +02:00
parent 0a67a3103e
commit b4740d4194

View File

@@ -1,18 +1,7 @@
# Hello
# Elixir Phoenix Configuration
To start your Phoenix server:
* Run `mix setup` to install and setup dependencies
* Start Phoenix endpoint with `mix phx.server` or inside IEx with `iex -S mix phx.server`
Now you can visit [`localhost:4000`](http://localhost:4000) from your browser.
Ready to run in production? Please [check our deployment guides](https://hexdocs.pm/phoenix/deployment.html).
## Learn more
* Official website: https://www.phoenixframework.org/
* Guides: https://hexdocs.pm/phoenix/overview.html
* Docs: https://hexdocs.pm/phoenix
* Forum: https://elixirforum.com/c/phoenix-forum
* Source: https://github.com/phoenixframework/phoenix
- Set `Build Pack` to `elixir`
- Set `MIX_ENV` to `prod`
- Set `SECRET_KEY_BASE` to a random string (https://hexdocs.pm/phoenix/deployment.html#handling-of-your-application-secrets)
- Set `DATABASE_URL` to your database connection string
- Set `Ports Exposes` to `4000` (default)