An open-source Discord bot for a YouTube series.
Here's how to get started with this template:
Setup
- Clone this repository with Git:
git clone https://github.com/m1-dev/djs-v14-series.git my-bot
- Navigate to the new folder:
cd my-bot
- Install dependencies:
npm install
Database
- Update the URL in the schema file to an actual path
- Initialize database:
npx prisma db push
Environment Variables
- Edit
.env.example
into.env
and set environment variables.
Running
- Spin up a development server:
npm run dev
- Build for production:
npm run build
- Start for production:
npm start