Update instructions
This commit is contained in:
parent
5ee0bdf00e
commit
6b575f7576
@ -14,5 +14,5 @@ fi
|
||||
yarn build:static
|
||||
|
||||
# Move build to app-builds
|
||||
mkdir /app-builds/osmosis
|
||||
mkdir -p /app-builds/osmosis
|
||||
cp -r ./out /app-builds/osmosis/build
|
||||
|
||||
@ -65,16 +65,15 @@ Inside the deployment directory, open the file `config.env` and set the followin
|
||||
```bash
|
||||
# Osmosis API base URL
|
||||
# Set this to proxy server endpoint for uniswap app
|
||||
# (Eg. http://localhost:4000)
|
||||
# (Eg. https://abc.xyz.com)
|
||||
CERC_WEB_API_BASE_URL=
|
||||
# (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)
|
||||
CERC_WEB_API_BASE_URL=http://localhost:4000
|
||||
|
||||
# Optional
|
||||
|
||||
# TODO: Change to CERC_ENABLE_PROXY after rebase
|
||||
# Whether to run the proxy server
|
||||
# (Disable only if proxy not required to be run) (Default: true)
|
||||
ENABLE_PROXY=
|
||||
CERC_ENABLE_PROXY=
|
||||
|
||||
# Proxy server configuration
|
||||
# Used only if proxy is enabled
|
||||
@ -113,16 +112,23 @@ then `docker exec` into the `laconicd` container and either export the private k
|
||||
|
||||
## Clean up
|
||||
|
||||
To stop all osmosis services running in the background, while preserving chain data:
|
||||
To stop all osmosis services running in the background, while preserving data:
|
||||
|
||||
```bash
|
||||
# Only stop the docker containers
|
||||
laconic-so deployment --dir osmosis-deployment stop
|
||||
|
||||
# Run 'start' to restart the deployment
|
||||
```
|
||||
|
||||
To stop all osmosis services and also delete data:
|
||||
|
||||
```bash
|
||||
# Stop the docker containers
|
||||
laconic-so deployment --dir osmosis-deployment stop --delete-volumes
|
||||
|
||||
# Remove deployment directory (deployment will have to be recreated for a re-run)
|
||||
rm -r osmosis-deployment
|
||||
```
|
||||
|
||||
To stop stack running Laconic registry
|
||||
|
||||
@ -2,14 +2,14 @@ version: "0.1"
|
||||
name: osmosis
|
||||
repos:
|
||||
# For gitea
|
||||
- git.vdb.to/cerc-io/hosting@names-for-so
|
||||
- gitea.com/gitea/act_runner
|
||||
# - git.vdb.to/cerc-io/hosting@names-for-so
|
||||
# - gitea.com/gitea/act_runner
|
||||
# For osmosis frontend
|
||||
- github.com/cerc-io/watcher-ts@v0.2.78
|
||||
- github.com/cerc-io/osmosis-frontend@ng-export-static # TODO: Update branch after merge
|
||||
- github.com/cerc-io/osmosis-frontend@laconic
|
||||
containers:
|
||||
- cerc/act-runner
|
||||
- cerc/act-runner-task-executor
|
||||
# - cerc/act-runner
|
||||
# - cerc/act-runner-task-executor
|
||||
- cerc/watcher-ts
|
||||
- cerc/osmosis-front-end
|
||||
pods:
|
||||
|
||||
@ -78,9 +78,9 @@ Inside the deployment directory, open the file `config.env` and set the followin
|
||||
|
||||
# Uniswap API GQL Endpoint
|
||||
# Set this to GQL proxy server endpoint for uniswap app
|
||||
# (Eg. http://localhost:4000/v1/graphql)
|
||||
# (Eg. https://abc.xyz.com/v1/graphql)
|
||||
CERC_UNISWAP_GQL=
|
||||
# (Eg. http://localhost:4000/v1/graphql - in case stack is being run locally with proxy enabled)
|
||||
# (Eg. https://abc.xyz.com/v1/graphql - in case https://abc.xyz.com is pointed to the proxy endpoint)
|
||||
CERC_UNISWAP_GQL=http://localhost:4000/v1/graphql
|
||||
|
||||
# Optional
|
||||
|
||||
@ -150,11 +150,18 @@ laconic-so deployment --dir uniswap-urbit-app-deployment start
|
||||
To stop all uniswap-urbit-app services running in the background, while preserving data:
|
||||
|
||||
```bash
|
||||
# Only stop the docker containers
|
||||
laconic-so deployment --dir uniswap-urbit-app-deployment stop
|
||||
|
||||
# Run 'start' to restart the deployment
|
||||
```
|
||||
|
||||
To stop all uniswap-urbit-app services and also delete data:
|
||||
|
||||
```bash
|
||||
# Stop the docker containers
|
||||
laconic-so deployment --dir uniswap-urbit-app-deployment stop --delete-volumes
|
||||
|
||||
# Remove deployment directory (deployment will have to be recreated for a re-run)
|
||||
rm -r uniswap-urbit-app-deployment
|
||||
```
|
||||
|
||||
Loading…
Reference in New Issue
Block a user