update README.md

This commit is contained in:
blu 2024-03-15 16:49:41 +01:00
parent 8de6b187a0
commit 829321a3d6
Signed by: blu
GPG Key ID: 9DF47BD2E647A7D6

View File

@ -21,16 +21,25 @@
1. Deploy [`coop-cloud/traefik`](https://git.autonomic.zone/coop-cloud/traefik) on the server. It acts as proxy, and it handles automagically TLS certificate creation and update (via `Let's Encrypt`).
### Create `open-inventory` app and deploy
1. `abra app new open-inventory --secrets` (optionally with `--pass` if you'd like to save secrets in pass)
1. `abra app config open-inventory.example.net`
1. `$ abra app new open-inventory --secrets` (optionally with `--pass` if you'd like to save secrets in pass)
1. `$ abra app config open-inventory.example.net`
- be sure to change `DOMAIN` to something that resolves to
your server
- `APP_URL` as well needs to be set
1. `abra app deploy open-inventory.example.net`
1. `$ abra app deploy open-inventory.example.net`
### open-inventory initial setup
1. Run
```abra app cmd open-inventory.example.net app initial_setup```
```$ abra app cmd open-inventory.example.net app initial_setup```
it will run the initial migrations, and create the first admin user
## open-inventory specific abra commands
Have a look at the abra.sh file in this repo,
there are some handy commands ready.
You can run them as, for example:
```bash
$ abra app cmd open-inventory.example.net app clear_cache
```