- Node v18 or higher
- Yarn
- Docker
Clone the repo and install dependencies:
git clone git@github.com:pubkeyapp/pubkey-bot.git
cd pubkey-bot
yarnYou can run the automatic setup script to create the .env file, test the setup and push the database schema.
yarn setupCopy the .env.example file to .env and fill in the missing values.
cp .env.example .envYou will need to start the database before starting the backend.
yarn dev:servicesIf you start from scratch, you will need to push the database schema to the database.
yarn prisma db pushAlso, after each change to the schema in prisma/schema.prisma, you will need to run the above command again.
yarn dev:apiyarn dev:webyarn dev:sdk