Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pubkeyapp/pubkey-bot

PubKey Bot is a customizable, secure open-source Discord verification bot. Based on Discord Linked Roles. Solana Hyperdrive Hackathon first price 🥇
https://github.com/pubkeyapp/pubkey-bot

Last synced: about 1 month ago
JSON representation

PubKey Bot is a customizable, secure open-source Discord verification bot. Based on Discord Linked Roles. Solana Hyperdrive Hackathon first price 🥇

Awesome Lists containing this project

README

        

# PubKey Bot

## Getting Started

### Prerequisites

- Node v18 or higher
- Yarn
- Docker

### Installation

Clone the repo and install dependencies:

```bash
git clone [email protected]:pubkeyapp/pubkey-bot.git
cd pubkey-bot
yarn
```

### Automatic setup

You can run the automatic setup script to create the `.env` file, test the setup and push the database schema.

```bash
yarn setup
```

### Environment variables

Copy the `.env.example` file to `.env` and fill in the missing values.

```bash
cp .env.example .env
```

### Starting the services

You will need to start the database before starting the backend.

```bash
yarn dev:services
```

### Pushing the database schema

If you start from scratch, you will need to push the database schema to the database.

```bash
yarn prisma db push
```

Also, after each change to the schema in `prisma/schema.prisma`, you will need to run the above command again.

### Starting the API

```bash
yarn dev:api
```

### Starting the web ui

```bash
yarn dev:web
```

### Starting the SDK generator

```bash
yarn dev:sdk
```