TODO: this is codegenerated text, change it and provide description of service
- Install just cli. Just is like make but better.
- Execute
just
to see avaliable dev commands
just
- Start dev postgres service by just typing
just start-postgres
-
For ORM codegen and migrations install sea-orm-cli
-
Write initial migration inside
brindexer-logic/migration/src/m20220101_000001_create_table
. -
If you want you can create another migration by just typing:
just new-migration <name>
- Apply migration by just typing:
just migrate-up
- Generate ORM codegen by just typing:
just generate-entities
- Now you ready to start API server! Just run it:
just run
- Invalid tonic version
`Router` and `Router` have similar names, but are actually distinct types
To fix this error you need to change tonic version of tonic
in blockscout-service-launcer
to 0.8
For now you can only change in Cargo.lock