Skip to content

Commit

Permalink
hacking docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanminutillo committed Jul 16, 2024
1 parent 1abd0d0 commit a6d647b
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions docs/HACKING.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,23 +174,21 @@ just nix-db start

### Configure

Edit the config (especially the secrets) for the current flavour in `./.env`

The only required config to startup bonfire are the secrets for sessions/cookies (`SECRET_KEY_BASE`, `SIGNING_SALT`, `ENCRYPTION_SALT`), you can generate strings for these by running:
Run `just config` to initialise the needed config.

```sh
just secrets
just config
```

(You need to manually copy/paste the value on the `.env` file, we will soon automatize this task)

Then you can edit the config for the current flavour in `./.env`

Then run `just config` to initialise the needed config.
The only required config to startup bonfire are the secrets for sessions/cookies (`SECRET_KEY_BASE`, `SIGNING_SALT`, `ENCRYPTION_SALT`), you can generate strings for these by running:

```sh
just config
just secrets
```


## Light a fire!

From a fresh checkout of this repository, this command will fetch the app's dependencies and setup the database (the same commands apply for all three options above):
Expand Down

0 comments on commit a6d647b

Please sign in to comment.