Fix stack names
This commit is contained in:
parent
cdf0a77ee5
commit
13e4f77963
34
README.md
34
README.md
@ -4,28 +4,38 @@ Deploy a stack for demoing Nitro-based auth, using either a local fixturenet (fu
|
|||||||
|
|
||||||
## Local Fixturenet (Self-Contained)
|
## Local Fixturenet (Self-Contained)
|
||||||
|
|
||||||
|
### Clone required stack repositories
|
||||||
|
|
||||||
|
```
|
||||||
|
$ cd ~/cerc
|
||||||
|
$ git clone git@git.vdb.to:cerc-io/nitro-auth-stacks.git
|
||||||
|
$ export NITRO_AUTH_STACK=~/cerc/nitro-auth-stacks/stack-orchestrator/stacks/nitro-auth
|
||||||
|
$ git clone git@git.vdb.to:cerc-io/fixturenet-eth-stacks.git
|
||||||
|
$ export FXETH_STACK=~/cerc/fixturenet-eth-stacks/stack-orchestrator/stacks/fixturenet-eth
|
||||||
|
```
|
||||||
|
|
||||||
### Clone required repositories
|
### Clone required repositories
|
||||||
|
|
||||||
```
|
```
|
||||||
$ laconic-so --stack fixturenet-eth setup-repositories
|
$ laconic-so --stack $FXETH_STACK setup-repositories
|
||||||
$ laconic-so --stack go-nitro-auth setup-repositories
|
$ laconic-so --stack $NITRO_AUTH_STACK setup-repositories
|
||||||
```
|
```
|
||||||
|
|
||||||
### Build containers
|
### Build containers
|
||||||
|
|
||||||
```
|
```
|
||||||
$ laconic-so --stack fixturenet-eth build-containers
|
$ laconic-so --stack $FXETH_STACK build-containers
|
||||||
$ laconic-so --stack go-nitro-auth build-containers
|
$ laconic-so --stack $NITRO_AUTH_STACK build-containers
|
||||||
```
|
```
|
||||||
|
|
||||||
### Create a deployment
|
### Create a deployment
|
||||||
|
|
||||||
```
|
```
|
||||||
$ laconic-so --stack fixturenet-eth deploy init --output nitro-net.yml
|
$ laconic-so --stack $FXETH_STACK deploy init --output nitro-net.yml
|
||||||
$ laconic-so --stack fixturenet-eth deploy create --spec-file nitro-net.yml --deployment-dir /srv/nitro-net
|
$ laconic-so --stack $FXETH_STACK deploy create --spec-file nitro-net.yml --deployment-dir /srv/nitro-net
|
||||||
|
|
||||||
$ laconic-so --stack go-nitro-auth deploy init --map-ports-to-host any-same --output nitro-auth.yml
|
$ laconic-so --stack $NITRO_AUTH_STACK deploy init --map-ports-to-host any-same --output nitro-auth.yml
|
||||||
$ laconic-so --stack go-nitro-auth deploy create --spec-file nitro-auth.yml --deployment-dir /srv/nitro-auth
|
$ laconic-so --stack $NITRO_AUTH_STACK deploy create --spec-file nitro-auth.yml --deployment-dir /srv/nitro-auth
|
||||||
|
|
||||||
# Place them both in the same namespace (TODO: support setting the deployment name via --cluster).
|
# Place them both in the same namespace (TODO: support setting the deployment name via --cluster).
|
||||||
$ cp /srv/nitro-net/deployment.yml /srv/nitro-auth/deployment.yml
|
$ cp /srv/nitro-net/deployment.yml /srv/nitro-auth/deployment.yml
|
||||||
@ -49,20 +59,20 @@ This example will use the Linea Sepolia testnet.
|
|||||||
### Clone required repositories
|
### Clone required repositories
|
||||||
|
|
||||||
```
|
```
|
||||||
$ laconic-so --stack go-nitro-auth setup-repositories
|
$ laconic-so --stack $NITRO_AUTH_STACK setup-repositories
|
||||||
```
|
```
|
||||||
|
|
||||||
### Build containers
|
### Build containers
|
||||||
|
|
||||||
```
|
```
|
||||||
$ laconic-so --stack go-nitro-auth build-containers
|
$ laconic-so --stack $NITRO_AUTH_STACK build-containers
|
||||||
```
|
```
|
||||||
|
|
||||||
### Create a deployment
|
### Create a deployment
|
||||||
|
|
||||||
```
|
```
|
||||||
$ laconic-so --stack go-nitro-auth deploy init --map-ports-to-host any-same --output nitro-auth.yml
|
$ laconic-so --stack $NITRO_AUTH_STACK deploy init --map-ports-to-host any-same --output nitro-auth.yml
|
||||||
$ laconic-so --stack go-nitro-auth deploy create --spec-file nitro-auth.yml --deployment-dir /srv/nitro-auth
|
$ laconic-so --stack $NITRO_AUTH_STACK deploy create --spec-file nitro-auth.yml --deployment-dir /srv/nitro-auth
|
||||||
```
|
```
|
||||||
|
|
||||||
### Set your keys, contract addresses, etc.
|
### Set your keys, contract addresses, etc.
|
||||||
|
Loading…
Reference in New Issue
Block a user