Update instructions for sol-token-locker deployment

This commit is contained in:
Prathamesh Musale 2025-02-06 14:06:06 +05:30
parent c9b8facc16
commit 4d2b2ce231
5 changed files with 13 additions and 11 deletions

View File

@ -2,6 +2,8 @@
## Setup
### sol-mem-gen
* Clone the repo:
```bash
@ -9,12 +11,10 @@
cd sol-mem-gen/deploy
```
### sol-mem-gen
* Build registry CLI image:
```bash
docker build -t cerc/laconic-registry-cli ./sol-mem-gen
docker build -t cerc/laconic-registry-cli .
# Builds image cerc/laconic-registry-cli:latest
```
@ -22,25 +22,25 @@
* Configure `userKey` and `bondId` in the registry CLI config:
```bash
nano sol-mem-gen/config.yml
nano config.yml
```
* Add configuration for registry operations:
```bash
cp sol-mem-gen/.registry.env.example sol-mem-gen/.registry.env
cp .registry.env.example .registry.env
# Fill in the required values
nano sol-mem-gen/.registry.env
nano .registry.env
```
* Add configuration for the app:
```bash
curl -s https://git.vdb.to/deep-stack/sol-mem-gen/raw/branch/main/.env.example -o sol-mem-gen/.app.env
curl -s https://git.vdb.to/deep-stack/sol-mem-gen/raw/branch/main/.env.example -o .app.env
# Fill in the required values
nano sol-mem-gen/.app.env
nano .app.env
```
### sol-token-locker
@ -48,11 +48,12 @@
* Create a dir for `sol-token-locker` deployment:
```bash
# In deployments dir
mkdir sol-token-locker
cd sol-token-locker
```
* Follow [instructions](https://git.vdb.to/deep-stack/sol-token-locker/src/branch/main/stack-orchestrator/stacks/sol-token-locker/README.md) to setup the `sol-token-locker` stack in `./sol-token-locker`
* Follow [instructions](https://git.vdb.to/deep-stack/sol-token-locker/src/branch/main/stack-orchestrator/stacks/sol-token-locker/README.md) to setup the `sol-token-locker` stack in `sol-token-locker`
## Run
@ -61,7 +62,7 @@
* Update configuration for the app as required:
```bash
# In deploy dir
# In sol-mem-gen/deploy dir
nano sol-mem-gen/.app.env
```
@ -69,7 +70,7 @@
```bash
docker run -it \
-v ./sol-mem-gen:/app/deploy -w /app/deploy \
-v ./:/app/deploy -w /app/deploy \
-e DEPLOYMENT_DNS=memes.markto.market \
cerc/laconic-registry-cli:latest \
./deploy.sh
@ -86,6 +87,7 @@
* Update configuration for token locker as required:
```bash
# In deployments dir
cd sol-token-locker
nano sol-token-locker-deployment/config.env
```