forked from mito-systems/sol-mem-gen
Update instructions for sol-token-locker deployment
This commit is contained in:
parent
c9b8facc16
commit
4d2b2ce231
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
|
### sol-mem-gen
|
||||||
|
|
||||||
* Clone the repo:
|
* Clone the repo:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@ -9,12 +11,10 @@
|
|||||||
cd sol-mem-gen/deploy
|
cd sol-mem-gen/deploy
|
||||||
```
|
```
|
||||||
|
|
||||||
### sol-mem-gen
|
|
||||||
|
|
||||||
* Build registry CLI image:
|
* Build registry CLI image:
|
||||||
|
|
||||||
```bash
|
```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
|
# Builds image cerc/laconic-registry-cli:latest
|
||||||
```
|
```
|
||||||
@ -22,25 +22,25 @@
|
|||||||
* Configure `userKey` and `bondId` in the registry CLI config:
|
* Configure `userKey` and `bondId` in the registry CLI config:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
nano sol-mem-gen/config.yml
|
nano config.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
* Add configuration for registry operations:
|
* Add configuration for registry operations:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cp sol-mem-gen/.registry.env.example sol-mem-gen/.registry.env
|
cp .registry.env.example .registry.env
|
||||||
|
|
||||||
# Fill in the required values
|
# Fill in the required values
|
||||||
nano sol-mem-gen/.registry.env
|
nano .registry.env
|
||||||
```
|
```
|
||||||
|
|
||||||
* Add configuration for the app:
|
* Add configuration for the app:
|
||||||
|
|
||||||
```bash
|
```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
|
# Fill in the required values
|
||||||
nano sol-mem-gen/.app.env
|
nano .app.env
|
||||||
```
|
```
|
||||||
|
|
||||||
### sol-token-locker
|
### sol-token-locker
|
||||||
@ -48,11 +48,12 @@
|
|||||||
* Create a dir for `sol-token-locker` deployment:
|
* Create a dir for `sol-token-locker` deployment:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
# In deployments dir
|
||||||
mkdir sol-token-locker
|
mkdir sol-token-locker
|
||||||
cd 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
|
## Run
|
||||||
|
|
||||||
@ -61,7 +62,7 @@
|
|||||||
* Update configuration for the app as required:
|
* Update configuration for the app as required:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# In deploy dir
|
# In sol-mem-gen/deploy dir
|
||||||
nano sol-mem-gen/.app.env
|
nano sol-mem-gen/.app.env
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -69,7 +70,7 @@
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -it \
|
docker run -it \
|
||||||
-v ./sol-mem-gen:/app/deploy -w /app/deploy \
|
-v ./:/app/deploy -w /app/deploy \
|
||||||
-e DEPLOYMENT_DNS=memes.markto.market \
|
-e DEPLOYMENT_DNS=memes.markto.market \
|
||||||
cerc/laconic-registry-cli:latest \
|
cerc/laconic-registry-cli:latest \
|
||||||
./deploy.sh
|
./deploy.sh
|
||||||
@ -86,6 +87,7 @@
|
|||||||
* Update configuration for token locker as required:
|
* Update configuration for token locker as required:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
# In deployments dir
|
||||||
cd sol-token-locker
|
cd sol-token-locker
|
||||||
nano sol-token-locker-deployment/config.env
|
nano sol-token-locker-deployment/config.env
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user