Update readme steps to deploy app
This commit is contained in:
parent
b77bf4dac4
commit
c34b443b69
@ -1,5 +1,9 @@
|
|||||||
# deployer
|
# deployer
|
||||||
|
|
||||||
|
The following steps are for deploying the frontend app to vaasl webapp deployer.
|
||||||
|
|
||||||
|
Run these steps in the `apps/deployer/` directory:
|
||||||
|
|
||||||
- Install dependencies
|
- Install dependencies
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@ -27,13 +31,11 @@
|
|||||||
AUTHORITY=laconic
|
AUTHORITY=laconic
|
||||||
```
|
```
|
||||||
|
|
||||||
Note: The bond id should be set to the `vaasl` authority
|
|
||||||
|
|
||||||
- Set the `userKey` in [config.yml](./config.yml)
|
- Set the `userKey` in [config.yml](./config.yml)
|
||||||
|
|
||||||
Note: The `userKey` account should be the owner of the bond set in `config.yml` (account address: `laconic13maulvmjxnyx3g855vk0lsv5aptf3rpxskynef`)
|
Note: The `userKey` should be the private key of the account owning the bond set in `config.yml` (account address: `laconic13maulvmjxnyx3g855vk0lsv5aptf3rpxskynef`)
|
||||||
|
|
||||||
- Set the app env values in [deploy-frontend.sh](./deploy-frontend.sh):
|
- Set the app env values in [deploy-frontend.sh](./deploy-frontend.sh) (Refer to main [readme](/readme.md#3-configure-environment-variables)):
|
||||||
<!-- TODO: Set env values from a file -->
|
<!-- TODO: Set env values from a file -->
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@ -58,9 +60,11 @@
|
|||||||
## Troubleshoot
|
## Troubleshoot
|
||||||
|
|
||||||
- Check deployment status in [web-app deployer](https://console.laconic.com/deployer).
|
- Check deployment status in [web-app deployer](https://console.laconic.com/deployer).
|
||||||
|
|
||||||
- Check records in [registry console app](https://console.laconic.com/#/registry).
|
- Check records in [registry console app](https://console.laconic.com/#/registry).
|
||||||
|
|
||||||
- If deployment fails due to low bond balance
|
- If deployment fails due to low bond balance
|
||||||
|
|
||||||
- Check balances
|
- Check balances
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
Loading…
Reference in New Issue
Block a user