Skip to content
This repository was archived by the owner on May 28, 2022. It is now read-only.

feature: Indexer#191

Draft
kekonen wants to merge 63 commits intomainfrom
daniil/tx_monitor_gas
Draft

feature: Indexer#191
kekonen wants to merge 63 commits intomainfrom
daniil/tx_monitor_gas

Conversation

@kekonen
Copy link
Copy Markdown
Contributor

@kekonen kekonen commented Feb 16, 2022

  1. cd tools/indexer
  2. To build and run docker u need to build SDK with changes and put it into the current directory by: npm run get_sdk
  3. docker build -t indexer .
  4. At this point u need to have some Postgres DB running
  5. Modify and move .env.example into .env
  6. Run core and wait till it will have all reindexed docker run --name core --rm --env-file .env --link pg1 -e PROGRAM=core -d indexer. It might throw errors due to RPC, just restart - it will proceed where it left off
  7. Run API docker run --name api --rm -p 3000:3000 --env-file .env --link pg1 -e PROGRAM=api -d indexer

@kekonen kekonen changed the title Daniil/tx monitor gas feature: Indexer Feb 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants