-
Notifications
You must be signed in to change notification settings - Fork 6
quick start instruction #3
base: master
Are you sure you want to change the base?
Conversation
They don’t output anything for Now the only question is how to handle |
To build and start the backend run these commands: | ||
|
||
```sh | ||
docker load -i "$(nix-build importer/ -A dockerImages.testnetBlockchainImporter --argstr gitrev "undefined" --no-out-link)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the --argstr gitrev "undefined"
is unnecessary once input-output-hk/project-icarus-importer#2 is merged (and the submodules here are updated).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As input-output-hk/project-icarus-importer#2 got merged, should we update the submodule and delete the argstr
?
README.md
Outdated
docker-compose up -d | ||
``` | ||
|
||
It will start the database, importer and webapp. The API is now reachable at <https://localhost:8080/>. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mention that it will throw certificate warnings right now (because it’s self-signed), maybe have the user test with curl --insecure
.
- >- | ||
NODE_CONFIG={ | ||
"server": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I’d add "port": 8080
inside the "server"
object to leave nothing to chance 🙂
Use docker volumes to keep the data across restarts. Fixes out of sync issues between RocksDB and Postgres. Tell the webapp about the importer address.
I'd add that a git clone |
Use docker volumes to keep the data across restarts. Fixes out of sync
issues between RocksDB and Postgres.
Tell the webapp about the importer address.