Skip to content

Commit

Permalink
Update README.md (#231)
Browse files Browse the repository at this point in the history
* Update README.md

* Update README.md
  • Loading branch information
kevin-atnos authored Oct 25, 2023
1 parent deaaa57 commit f24a10b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,16 @@ Fill the fields `username` and `password` for each environment with the PostgreS
## Install all dependencies
`bundle install`

## Generate and fill the secret_key_base in your credentials
Generate the `secret_key_base` with `bin/rake secret` and add it in your credentials using `EDITOR='nano' rails credentials:edit` :

```
secret_key_base: [Fill it with the secret key base you have generated]
```

## Create and fill the file `.env` file
Go in the root path of the back project then `cp .env-example .env`.

Generate the `SECRET_KEY_BASE` with `bin/rake secret` and paste the secret key in the file.

Generate the `DEVISE_SECRET_KEY` with `bin/rake secret` and paste the secret key in the file.

Generate the `DEVISE_PEPPER` with `bin/rake secret` and paste the secret key in the file.
Expand Down

0 comments on commit f24a10b

Please # to comment.