This commit is contained in:
Wizzard 2023-07-13 11:43:40 -04:00
parent f8e8188a35
commit 768ff75e00
5 changed files with 49 additions and 0 deletions

37
.gitignore vendored Normal file
View File

@ -0,0 +1,37 @@
# Ignore node modules
node_modules/
# Ignore Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
# Ignore runtime data
pids
*.pid
*.seed
*.pid.lock
# Ignore directories created by 'npm', 'yarn' or other development tools
.jest/
coverage/
.nyc_output/
# Ignore generated build directory
/dist
# Ignore dotenv environment variable files
.env
.env.test
.env.production
# Ignore the config file
config.json
package-lock.json
# Ignore all dotfiles
.*
!/.gitignore

8
package.json Normal file
View File

@ -0,0 +1,8 @@
{
"dependencies": {
"discord-rpc": "^4.0.1",
"pm2": "^5.2.2",
"pretty-ms": "^7.0.1",
"request-promise": "^4.2.6"
}
}

2
scripts/start.sh Executable file
View File

@ -0,0 +1,2 @@
#node main.js > /dev/null 2>&1 &
./node_modules/.bin/pm2 start main.js

View File

@ -0,0 +1 @@
./node_modules/.bin/pm2.cmd start main.js

1
update.sh Normal file
View File

@ -0,0 +1 @@
git pull