Quickstart
Step 1: Clone the repository:
git clone https://github.com/hiraeeth/DiscordTS-Base.gitStep 2: Change directory to the repository
cd DiscordTS-BaseInstalling dependencies
Step 1: Edit .env.example and rename it to .env
Step 2: Install dependencies
npm install --saveStep 3: You can start the script with the one of the following commands
npm run devDeprecation warnings
Step 1: Run this command to automatically fix vulnerabilities if possible.
npm audit fix
Using Docker
docker-compose up -dversion: '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=productionLast updated