Skip to content

Commit 699d50b

Browse files
committed
docs: build info
1 parent 4d05b8a commit 699d50b

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

backend/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,3 +170,17 @@ The email templates are in `./backend/app/email-templates/`. Here, there are two
170170
Before continuing, ensure you have the [MJML extension](https://marketplace.visualstudio.com/items?itemName=attilabuti.vscode-mjml) installed in your VS Code.
171171

172172
Once you have the MJML extension installed, you can create a new email template in the `src` directory. After creating the new email template and with the `.mjml` file open in your editor, open the command palette with `Ctrl+Shift+P` and search for `MJML: Export to HTML`. This will convert the `.mjml` file to a `.html` file and now you can save it in the build directory.
173+
174+
## Additions
175+
176+
OpenFGA helps to streamline and standardize the permissions structure on the backend. Controlling access to database objects using 1 comprehensive mapping.
177+
178+
To deploy using OpenFGA in the backend, currently, compose does not support automation function passing backend configuration details to the environment at runtime. In other words, you'll have to start OpenFGA, input the env variabls OPENFGA_STORE_ID and OPENFGA_AUTHORIZATION_MODEL_ID, then finally deploy the rest of the containers.
179+
180+
```bash
181+
docker compose -f docker-compose.fga.yml up -d
182+
```
183+
184+
```bash
185+
docker compose up -d --build
186+
```

0 commit comments

Comments
 (0)