Setup stack with laconic2d

This commit is contained in:
nabarun committed 2024-05-20 17:06:27 +05:30
1 parent 770505886b
commit 3bee6e4941
24 files changed
+538

No files matched your search

@@ -0,0 +1,58 @@
# laconicd-full-node
Instructions for deploying a laconicd full node along with steps to join testnet as a validator post genesis
Minimum hardware requirements:
- RAM: 8-16GB
- Disk space: 200GB
- CPU: 2 cores
## Clone the stack repo
```
$ laconic-so fetch-stack git.vdb.to/cerc-io/testnet-laconicd-stack
```
## Clone required repositories
```
$ laconic-so --stack ~/cerc/testnet-laconicd-stack/stacks/laconicd-full-node setup-repositories
```
## Build the fixturenet-eth containers
```
$ laconic-so --stack ~/cerc/testnet-laconicd-stack/stacks/laconicd-full-node build-containers
```
This should create several container images in the local image registry:
* cerc/laconicd
*
## Deploy the stack
```
$ laconic-so --stack ~/cerc/testnet-laconicd-stack/stacks/laconicd-full-node deploy up
```
## Check status
<!-- TODO -->
## Join as testnet validator
<!-- TODO -->
## Clean up
Stop all services running in the background:
```bash
$ laconic-so --stack ~/cerc/testnet-laconicd-stack/stacks/laconicd-full-node deploy down
```
Clear volumes created by this stack:
<!-- TODO -->
@@ -0,0 +1,19 @@
version: "1.1"
name: laconicd-full-node
description: "Laconicd full node"
repos:
- cerc-io/laconic2d
- cerc-io/laconic-registry-cli@laconic2
- cerc-io/laconic-console@laconic2
containers:
- cerc/laconic2d
- cerc/laconic-registry-cli
- cerc/webapp-base
- cerc/laconic-console-host
pods:
- laconicd-full-node
- laconic-console
config:
cli:
key: laconicd.mykey
address: laconicd.myaddress