chore: remove files that are no longer needed with the docker environment

This commit is contained in:
Dragory 2022-08-07 13:55:07 +03:00
parent 030da51da1
commit c01a4027bd
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
5 changed files with 0 additions and 83 deletions

View file

@ -1,12 +0,0 @@
{
"apps": [
{
"name": "zeppelin-api",
"cwd": "./backend",
"script": "npm",
"args": "run start-api-prod",
"log_date_format": "YYYY-MM-DD HH:mm:ss.SSS",
"exp_backoff_restart_delay": 2500
}
]
}

View file

@ -1,12 +0,0 @@
{
"apps": [
{
"name": "zeppelin",
"cwd": "./backend",
"script": "npm",
"args": "run start-bot-prod",
"log_date_format": "YYYY-MM-DD HH:mm:ss.SSS",
"exp_backoff_restart_delay": 2500
}
]
}

View file

@ -1,16 +0,0 @@
#!/bin/bash
# Load nvm
. ~/.nvm/nvm.sh
# Run hotfix update
cd backend
nvm use
git pull
npm run build
# Restart processes
cd ..
nvm use
pm2 restart process-bot.json
pm2 restart process-api.json

View file

@ -1,25 +0,0 @@
#!/bin/bash
# Load nvm
. ~/.nvm/nvm.sh
# Stop current processes
nvm use
pm2 delete process-bot.json
pm2 delete process-api.json
# Run update
nvm use
git pull
npm ci
cd backend
npm ci
npm run build
npm run migrate-prod
# Start processes again
cd ..
nvm use
pm2 start process-bot.json
pm2 start process-api.json

View file

@ -1,18 +0,0 @@
#!/bin/bash
TARGET_DIR=/var/www/zeppelin.gg
# Load nvm
. ~/.nvm/nvm.sh
# Update dashboard
cd dashboard
git pull
nvm use
npm ci
npm run build
rm -r $TARGET_DIR/*
cp -R dist/* $TARGET_DIR
# Return
cd ..