just config

This commit is contained in:
Mayel de Borniol 2023-02-05 16:10:19 +13:00
parent 9de03f6b02
commit 026f0d2e96
3 changed files with 6 additions and 5 deletions

View file

@ -360,6 +360,8 @@ jobs:
run: mix local.hex --force
- name: Install rebar
run: mix local.rebar --force
- name: Prep environment
run: just config
- name: Install Elixir dependencies
run: just mix "deps.get --only prod"
- name: Prepare release

View file

@ -190,11 +190,11 @@ For production, we recommend to set up a CI workflow to automate this, for an ex
- Make sure you have erlang and elixir installed (check `Dockerfile` for what version we're currently using)
- Run `mix deps.get --only prod` to install elixir dependencies.
- `export WITH_DOCKER=no` and `just flavour [classic or your choice of flavour]`
- Prepare assets with `just js-deps-get`, `just assets-prepare` and `mix phx.digest`
- Run `just mix "deps.get --only prod"` and `just js-deps-get` to install elixir dependencies.
- Run `mix release` to create an elixir release. This will create an executable in your `_build/prod/rel/bonfire` directory. We will be using the `bin/bonfire` executable from here on.
- Run `just rel-build` to create an elixir release. This will create an executable in your `_build/prod/rel/bonfire` directory. We will be using the `bin/bonfire` executable from here on.
#### C-2. Running the release
@ -207,7 +207,6 @@ For production, we recommend to set up a CI workflow to automate this, for an ex
* To run the instance as a daemon, use `bin/bonfire start daemon`.
---
### Option D - with Nix

View file

@ -86,7 +86,7 @@ defmodule Bonfire.Umbrella.MixProject do
@default_flavour "classic"
@config [
# note that the flavour will automatically be added where the dash appears
version: "0.4.0-beta.19",
version: "0.4.0-beta.20",
elixir: "~> 1.13",
default_flavour: @default_flavour,
logo: "assets/static/images/bonfire-icon.png",