8000 GitHub - sevenzing/brindexer
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

sevenzing/brindexer

Repository files navigation

Brindexer Service

TODO: this is codegenerated text, change it and provide description of service

Dev

  • 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

Troubleshooting

  1. 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0