fix(strapi) add docs to build admin panel (#7369)

* fix(strapi) automatically build admin panel

* fix command and added docs

* replace init with args

* replace arg command

* remove initcontainer

* yarn strapi

* remove init and update docs.

* update docs

* remove extra args defaults

* fix test value

* remove comment

* add yarn run build initContainers

* update init initContainers

* update

* fix datbase host

* update

* update args

* update command

* replace npm with yarn

* remove init container

* update docs

* update word
This commit is contained in:
Xstar97TheNoob
2023-02-18 21:12:38 +01:00
committed by GitHub
parent 7db628e16f
commit e93bdedf88
4 changed files with 38 additions and 10 deletions
@@ -0,0 +1,22 @@
# Installation Notes
- Create a `Jwt Secret` to be used to signed the JWT for Users-Permissions plugin.
- Create a `Admin Jwt Secret` to be used to sign the JWT for the Admin panel.
- Set `App Keys` as a json array:
- `['keya', 'keyb']`.
- Set `Node Environment` to **Development** initially.
- Optionally set `Public URL` to a FDQN with https, ex: `https://api.example.com`.
- Optionally set `Strapi License` to activate the Enterprise Edition.
- Enable/Disable `Strapi Disable Update Notifications` for strapi update notifications.
- Enable/Disable `Fast Refresh` for react near-instant feedback.
- `Extra Args` can be left empty for the standard defaults or get args from [strapi-new](https://strapi.io/documentation/developer-docs/latest/developer-resources/cli/CLI.html#strapi-new).
- After the app is installed you might get a `Content Security Policy` error. To solve this you have to manually shell into the app.
- Apps -> strapi -> 3 dot -> shell:
- run the following command to build the admin panel for v4:
```shell
npm run build
```
- Restart the app after the command is ran successfully.