forked from cerc-io/ipld-eth-server
Rename dev_env to rinkeby_env, added make commands description to readme
This commit is contained in:
committed by
Ian Norden
parent
0d4aa71d6d
commit
2201efc347
@@ -69,6 +69,29 @@ Sync VulcanizeDB from the LevelDB underlying a Geth node.
|
||||
- `--ending-block-number`/`-e`: block number to sync to
|
||||
- `--all`/`-a`: sync all missing blocks
|
||||
|
||||
## Start full environment in docker by single command
|
||||
|
||||
### Geth Rinkeby
|
||||
|
||||
make command | description
|
||||
------------------- | ----------------
|
||||
rinkeby_env_up | start geth, postgres and rolling migrations, after migrations done starting vulcanizedb container
|
||||
rinkeby_env_deploy | build and run vulcanizedb container in rinkeby environment
|
||||
rinkeby_env_migrate | build and run rinkeby env migrations
|
||||
rinkeby_env_down | stop and remove all rinkeby env containers
|
||||
|
||||
Success run of the VulcanizeDB container require full geth state sync,
|
||||
attach to geth console and check sync state:
|
||||
|
||||
```bash
|
||||
$ docker exec -it rinkeby_vulcanizedb_geth geth --rinkeby attach
|
||||
...
|
||||
> eth.syncing
|
||||
false
|
||||
```
|
||||
|
||||
If you have full rinkeby chaindata you can move it to `rinkeby_vulcanizedb_geth_data` docker volume to skip long wait of sync.
|
||||
|
||||
## Running the Tests
|
||||
|
||||
### Unit Tests
|
||||
|
||||
Reference in New Issue
Block a user