mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-05-15 07:32:42 +00:00
just config
This commit is contained in:
parent
9de03f6b02
commit
026f0d2e96
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
2
mix.exs
2
mix.exs
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue