Update docs & config

This commit is contained in:
Mayel de Borniol 2023-08-12 12:29:01 +01:00
parent 6b4b82d168
commit 49566a933a
3 changed files with 10 additions and 5 deletions

View file

@ -206,7 +206,7 @@ For production, we recommend to set up a CI workflow to automate this, for an ex
- Postgres (or Postgis) version 12 or newer
- [just](https://github.com/casey/just#packages)
- Elixir version 1.13 with OTP 24 (or newer). If your distribution only has an old version available, check [Elixir's install page](https://elixir-lang.org/install.html) or use a tool like [asdf](https://github.com/asdf-vm/asdf) (run `asdf install` in this directory).
- Elixir version 1.15+ with OTP 25+. If your distribution only has an old version available, check [Elixir's install page](https://elixir-lang.org/install.html) or use a tool like [asdf](https://github.com/asdf-vm/asdf) (run `asdf install` in this directory).
#### C-1. Building the release

View file

@ -61,7 +61,7 @@ You may also want to put this in the appropriate place in your system so your ch
### Option B - the easy way (with bare-metal elixir, and docker-managed tooling, database & search index, recommended for active development)
- Dependencies:
- Recent versions of [Elixir](https://elixir-lang.org/install.html) (1.13+) and OTP/erlang (24+)
- Recent versions of [Elixir](https://elixir-lang.org/install.html) (1.15+) and OTP/erlang (25+)
- [yarn](https://yarnpkg.com)
- Recent versions of Docker & [docker-compose](https://docs.docker.com/compose/install/)
@ -72,7 +72,7 @@ You may also want to put this in the appropriate place in your system so your ch
### Option C - the partial way (with bare-metal elixir and tooling, and docker-managed database & search index)
- Dependencies:
- Recent versions of [Elixir](https://elixir-lang.org/install.html) (1.13+) and OTP/erlang (24+)
- Recent versions of [Elixir](https://elixir-lang.org/install.html) (1.15+) and OTP/erlang (25+)
- Recent versions of [Rust](https://www.rust-lang.org/tools/install) and Cargo
- [yarn](https://yarnpkg.com)
- Recent versions of Docker & [docker-compose](https://docs.docker.com/compose/install/)
@ -84,7 +84,7 @@ You may also want to put this in the appropriate place in your system so your ch
### Option D - the bare metal (if you don't use docker)
- Dependencies:
- Recent versions of [Elixir](https://elixir-lang.org/install.html) (1.13+) and OTP/erlang (24+)
- Recent versions of [Elixir](https://elixir-lang.org/install.html) (1.15+) and OTP/erlang (25+)
- Recent versions of [Rust](https://www.rust-lang.org/tools/install) and Cargo
- [yarn](https://yarnpkg.com)
- Postgres 12+ (or rather [Postgis](https://postgis.net/install/) if using the bonfire_geolocate extension)

View file

@ -53,7 +53,12 @@ config :bonfire, Bonfire.Web.Endpoint,
# root_layout: [html: {Bonfire.UI.Common.BasicView, :error}],
formats: [html: Bonfire.UI.Common.ErrorView, json: Bonfire.UI.Common.ErrorView]
],
pubsub_server: Bonfire.Common.PubSub
pubsub_server: Bonfire.Common.PubSub,
live_view: [
# the time of inactivity allowed in the LiveView before compressing its own memory and state. Defaults to 15000ms (15 seconds)
hibernate_after: String.to_integer(System.get_env("LV_HIBERNATE_AFTER", "7000"))
# NOTE: see also `LV_TIMEOUT` and `LV_FULLSWEEP_AFTER` for the socket in the endpoint module
]
config :phoenix, :json_library, Jason
config :phoenix_gon, :json_library, Jason