Rename faucet service name in docker compose #11

Merged
nabarun merged 2 commits from ng-update-demo-readme into main 2024-07-24 09:46:36 +00:00
3 changed files with 9 additions and 16 deletions

View File

@ -1,5 +1,5 @@
services: services:
start-faucet: faucet:
restart: unless-stopped restart: unless-stopped
image: cerc/laconic-faucet:local image: cerc/laconic-faucet:local
command: ["bash", "-c", "./start-faucet.sh"] command: ["bash", "-c", "./start-faucet.sh"]

View File

@ -37,7 +37,7 @@ Instructions for running the laconic faucet
```bash ```bash
network: network:
ports: ports:
laconic-faucet: faucet:
- '3000:3000' - '3000:3000'
``` ```

View File

@ -158,12 +158,6 @@
``` ```
- Create a deployment for stage 1: - Create a deployment for stage 1:
- Create spec file for the deployment:
```bash
laconic-so --stack ~/cerc/fixturenet-laconicd-stack/stack-orchestrator/stacks/fixturenet-laconicd deploy init --output stage1-spec.yml
```
- Copy the contents of `stage0-spec.yml` to `stage1-spec.yml`: - Copy the contents of `stage0-spec.yml` to `stage1-spec.yml`:
```bash ```bash
@ -190,7 +184,7 @@
... ...
network: network:
ports: ports:
laconic-faucet: faucet:
- '4000:3000' - '4000:3000'
``` ```
@ -574,6 +568,8 @@
- Press `a` to run the application on android and wait till the wallet app opens up on your phone - Press `a` to run the application on android and wait till the wallet app opens up on your phone
## Demo
- In laconic-wallet app, click on `Create wallet` and add laconicd chain using `Add network` button: - In laconic-wallet app, click on `Create wallet` and add laconicd chain using `Add network` button:
```bash ```bash
@ -587,8 +583,6 @@
Gas Price - `0.01` Gas Price - `0.01`
``` ```
## Demo
- Start the stack for stage 0 laconicd (run command in directory where stage0-deployment had been created) - Start the stack for stage 0 laconicd (run command in directory where stage0-deployment had been created)
```bash ```bash
@ -1075,11 +1069,10 @@
```bash ```bash
# Run where deployments are created # Run where deployments are created
sudo rm -rf 'stage0-deployment/data/laconicd-data/*' sudo rm -rf stage0-deployment/data/laconicd-data/*
sudo rm -rf 'stage0-deployment/data/genesis-config/*'
sudo rm -rf 'stage1-deployment/data/laconicd-data/*' sudo rm -rf stage1-deployment/data/laconicd-data/*
sudo rm -rf 'stage1-deployment/data/genesis-config/*' sudo rm -rf stage1-deployment/data/genesis-config/*
``` ```
- Reset faucet deployment: - Reset faucet deployment:
@ -1093,7 +1086,7 @@
```bash ```bash
# Run where deployments are created # Run where deployments are created
sudo rm -rf 'laconic-faucet-deployment/data/faucet-data/*' sudo rm -rf laconic-faucet-deployment/data/faucet-data/*
``` ```
## Re-run ## Re-run