mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-05-17 00:22:40 +00:00
secrets without elixir
This commit is contained in:
parent
62645d2224
commit
696c4ced80
|
@ -20,7 +20,7 @@ config :bonfire_search,
|
||||||
## Other general test config
|
## Other general test config
|
||||||
|
|
||||||
config :logger,
|
config :logger,
|
||||||
level: :info,
|
level: :debug,
|
||||||
truncate: :infinity
|
truncate: :infinity
|
||||||
|
|
||||||
config :logger, :console, truncate: :infinity
|
config :logger, :console, truncate: :infinity
|
||||||
|
|
12
justfile
12
justfile
|
@ -668,9 +668,15 @@ db-pre-migrations:
|
||||||
-touch priv/repo/*
|
-touch priv/repo/*
|
||||||
|
|
||||||
# Generate secrets
|
# Generate secrets
|
||||||
@secrets:
|
@secrets:
|
||||||
cd lib/mix/ && ln -sf ../../extensions/bonfire/lib/mix/tasks || ln -sf ../../deps/bonfire/lib/mix/tasks
|
just rand
|
||||||
cd lib/mix/tasks/secrets/ && mix escript.build && ./secrets 128 3
|
just rand
|
||||||
|
just rand
|
||||||
|
# cd lib/mix/ && ln -sf ../../extensions/bonfire/lib/mix/tasks || ln -sf ../../deps/bonfire/lib/mix/tasks
|
||||||
|
# cd lib/mix/tasks/secrets/ && mix escript.build && ./secrets 128 3
|
||||||
|
|
||||||
|
@rand:
|
||||||
|
echo {{ uuid() }}-{{ uuid() }}-{{ uuid() }}-{{ uuid() }}
|
||||||
|
|
||||||
# Start or stop nix postgres server
|
# Start or stop nix postgres server
|
||||||
@nix-db pg_cmd:
|
@nix-db pg_cmd:
|
||||||
|
|
Loading…
Reference in a new issue