- 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_URLINFLUXDB_API_TOKENINFLUXDB_BUCKETINFLUXDB_ORGINFLUXDB_URLIRONFISH_API_KEYNETWORK_VERSIONNODE_ENVWORKER_COUNT
You can copy .env.template to your own .env file
- Run
yarn start:devto run the app with hot reload - If you prefer to run without hot reload, run
yarn buildto build the app and thenyarn startto run it
- Run
yarn db:client:generateto generate the Prisma client - Run
yarn db:migrateto create a migration