discord-bot/README.md
2022-09-21 22:59:27 +02:00

29 lines
580 B
Markdown

# discord-bot
## Setup
first install [volta](https://volta.sh/)
(optional) install https://ngrok.com/download for opening db browser remotely
After installing volta and setting up an user for the bot with sudo group
- ```source ~/.bashrc```
- ```volta install node```
- ```volta install yarn```
- ```volta install pm2```
In repo (after setting up .env):
- ```yarn install```
- ```yarn prisma migrate dev```
- ```pm2 start ecosystem.config.js```
## Commands
- Start the application ```yarn start```
- Start dev ```yarn dev```
- Start db browser ```yarn prisma studio```