feat: add startup script (#33)
* feat: add startup script Signed-off-by: Arthurim <arthurbdauphine@gmail.com> * feat: update doc Signed-off-by: Arthurim <arthurbdauphine@gmail.com> Signed-off-by: Arthurim <arthurbdauphine@gmail.com>
This commit is contained in:
parent
bb6d267460
commit
3a58c82327
@ -66,6 +66,13 @@ And load prices data
|
||||
./mev prices fetch-all
|
||||
```
|
||||
|
||||
|
||||
Alternatively, once you have created a new cluster, add your RPC_URL into `scripts/startup.sh` and run:
|
||||
|
||||
```
|
||||
bash scripts/startup.sh
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
### Inspect a single block
|
||||
|
10
scripts/startup.sh
Normal file
10
scripts/startup.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
# bash script to launch the
|
||||
# usage: bash scripts/startup.sh
|
||||
# this assumes you already ran: kind create cluster
|
||||
# Do not forget to add your RPC URL below
|
||||
export RPC_URL=""
|
||||
tilt down &&
|
||||
tilt up &&
|
||||
./mev exec alembic upgrade head &&
|
||||
./mev prices fetch-all
|
Loading…
x
Reference in New Issue
Block a user