forked from cerc-io/stack-orchestrator
Update instructions in osmosis stack (#684)
This commit is contained in:
parent
fa6b570f4a
commit
232d5618cb
@ -18,9 +18,9 @@ laconic-so --stack osmosis setup-repositories
|
|||||||
|
|
||||||
Build the container images:
|
Build the container images:
|
||||||
|
|
||||||
```
|
```bash
|
||||||
# support image for the gitea package registry
|
# TODO: support image for the gitea package registry
|
||||||
laconic-so --stack build-support build-containers
|
# laconic-so --stack build-support build-containers
|
||||||
|
|
||||||
laconic-so --stack osmosis build-containers
|
laconic-so --stack osmosis build-containers
|
||||||
```
|
```
|
||||||
@ -62,9 +62,11 @@ laconic-so --stack osmosis deploy create --spec-file osmosis-spec.yml --deployme
|
|||||||
|
|
||||||
Inside the deployment directory, open the file `config.env` and set the following env variables:
|
Inside the deployment directory, open the file `config.env` and set the following env variables:
|
||||||
|
|
||||||
|
(Note: Following config can be used as is if the stack is being run locally)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Osmosis API base URL
|
# Osmosis API base URL
|
||||||
# Set this to proxy server endpoint for uniswap app
|
# Set this to proxy server endpoint for osmosis app
|
||||||
# (Eg. http://localhost:4000 - in case stack is being run locally with proxy enabled)
|
# (Eg. http://localhost:4000 - in case stack is being run locally with proxy enabled)
|
||||||
# (Eg. https://abc.xyz.com - in case https://abc.xyz.com is pointed to the proxy endpoint)
|
# (Eg. https://abc.xyz.com - in case https://abc.xyz.com is pointed to the proxy endpoint)
|
||||||
CERC_WEB_API_BASE_URL=http://localhost:4000
|
CERC_WEB_API_BASE_URL=http://localhost:4000
|
||||||
@ -85,10 +87,17 @@ Inside the deployment directory, open the file `config.env` and set the followin
|
|||||||
## Start the stack
|
## Start the stack
|
||||||
|
|
||||||
Start the deployment:
|
Start the deployment:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
laconic-so deployment --dir osmosis-deployment start
|
laconic-so deployment --dir osmosis-deployment start
|
||||||
```
|
```
|
||||||
|
|
||||||
|
* The `osmosis-front-end` container will take some time to run to completion as it builds the front-end app with given configuration; same can be tracked in the logs:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
laconic-so deployment --dir osmosis-deployment logs -f osmosis-front-end
|
||||||
|
```
|
||||||
|
|
||||||
* List and check the health status of all the containers using `docker ps` and wait for them to be `healthy`
|
* List and check the health status of all the containers using `docker ps` and wait for them to be `healthy`
|
||||||
|
|
||||||
* The web app can be accessed at http://localhost:3000
|
* The web app can be accessed at http://localhost:3000
|
||||||
@ -96,7 +105,8 @@ laconic-so deployment --dir osmosis-deployment start
|
|||||||
## Laconic registry
|
## Laconic registry
|
||||||
|
|
||||||
Setup a test chain:
|
Setup a test chain:
|
||||||
```
|
|
||||||
|
```bash
|
||||||
export CERC_NPM_REGISTRY_URL=https://git.vdb.to/api/packages/cerc-io/npm/
|
export CERC_NPM_REGISTRY_URL=https://git.vdb.to/api/packages/cerc-io/npm/
|
||||||
|
|
||||||
laconic-so --stack fixturenet-laconic-loaded setup-repositories --include git.vdb.to/cerc-io/laconicd,git.vdb.to/cerc-io/laconic-sdk,git.vdb.to/cerc-io/laconic-registry-cli,git.vdb.to/cerc-io/laconic-console
|
laconic-so --stack fixturenet-laconic-loaded setup-repositories --include git.vdb.to/cerc-io/laconicd,git.vdb.to/cerc-io/laconic-sdk,git.vdb.to/cerc-io/laconic-registry-cli,git.vdb.to/cerc-io/laconic-console
|
||||||
|
@ -6,7 +6,7 @@ repos:
|
|||||||
# - gitea.com/gitea/act_runner
|
# - gitea.com/gitea/act_runner
|
||||||
# For osmosis frontend
|
# For osmosis frontend
|
||||||
- github.com/cerc-io/watcher-ts@v0.2.78
|
- github.com/cerc-io/watcher-ts@v0.2.78
|
||||||
- github.com/cerc-io/osmosis-frontend@laconic
|
- github.com/cerc-io/osmosis-frontend@laconic # TODO: Use release
|
||||||
containers:
|
containers:
|
||||||
# - cerc/act-runner
|
# - cerc/act-runner
|
||||||
# - cerc/act-runner-task-executor
|
# - cerc/act-runner-task-executor
|
||||||
|
Loading…
Reference in New Issue
Block a user