Git, Nodejs and FFmpeg must be installed on your system
- Clone the Repo
git clone https://github.com/PhantomKnight287/Phantomknight
- Install dependencies
npm i
or
yarn
- Setting up Environment Variables
Create .env in root of the folder and follow
.env.example
for variables. - Compile Ts
yarn build:prod
or
npm run build:prod
- Start the bot
npm run start:prod
or
yarn start:prod
- Run The bot Using Docker
Get `docker-compose.yml` from root of the project. Follow Step 3 from above and run
docker-compose up --build --detach