Add troubleshooting section

This commit is contained in:
Nabarun 2024-02-27 10:22:41 +05:30
parent 4acdf555e3
commit aedf9f5e6d

View File

@ -17,19 +17,6 @@
...
```
- Check balances
```bash
# Account balace
yarn laconic cns account get
# Bond balance
yarn laconic cns bond get --id 8fcf44b2f326b4b63ac57547777f1c78b7d494e5966e508f09001af53cb440ac
```
- Commmand to refill bond incase balance is less
```bash
yarn laconic cns bond refill --id 8fcf44b2f326b4b63ac57547777f1c78b7d494e5966e508f09001af53cb440ac --type aphoton --quantity 10000000
```
- Run script
```sh
./deploy-frontend.sh
@ -75,7 +62,23 @@
LACONIC_HOSTED_CONFIG_app_server_url: https://snowballtools-base-api-001.apps.snowballtools.com
...
```
- On changing `LACONIC_HOSTED_CONFIG_app_github_clientid`, the GitHub client ID and secret need to be changed in backend config too
- Deploy app
```
./deploy-frontend.sh
```
## Troubleshoot
- Check balances
```bash
# Account balace
yarn laconic cns account get
# Bond balance
yarn laconic cns bond get --id 8fcf44b2f326b4b63ac57547777f1c78b7d494e5966e508f09001af53cb440ac
```
- Commmand to refill bond incase balance is less
```bash
yarn laconic cns bond refill --id 8fcf44b2f326b4b63ac57547777f1c78b7d494e5966e508f09001af53cb440ac --type aphoton --quantity 10000000
```