Quickstart
Step 1: Clone the repository:
git clone https://github.com/hiraeeth/DiscordTS-Base.git
Step 2: Change directory to the repository
cd DiscordTS-Base
Installing dependencies
Step 1: Edit .env.example
and rename it to .env
Step 2: Install dependencies
npm install --save
Step 3: You can start the script with the one of the following commands
npm run dev
Deprecation warnings
Step 1: Run this command to automatically fix vulnerabilities if possible.
npm audit fix

Using Docker
docker-compose up -d
version: '3.8'
services:
app:
build: .
image: discordbot:latest
container_name: discordbot
ports:
- "3000:3000" # You can skip this if you don't have a web server
volumes:
- ./:/usr/src/app
environment:
- NODE_ENV=production
Last updated