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