- Make sure you're running at least node 16 - you may want to avail yourself of a tool like nvm
- Run
yarnto install dependencies - Run
yarn docker:startto start docker - Run
yarn buildto build things locally - Run
yarn db:client:generateto generate the Prisma client - Run
yarn db:migrateto create a migration
You'll need a .env file with the following keys:
API_URLBLOCK_EXPLORER_URLDATABASE_CONNECTION_POOL_URLDATABASE_URLDATADOG_URLINCENTIVIZED_TESTNET_URLIRONFISH_API_KEYMAGIC_SECRET_KEYNETWORK_VERSIONNODE_ENVWORKER_COUNT
You can copy .env.template to your own .env file
- Run
yarn startto run things once you've built them withyarn build
- Run
yarn db:client:generateto generate the Prisma client - Run
yarn db:migrateto create a migration