Node.js
curl -fsSL https://deb.nodesource.com/setup_21.x | bash - &&\
sudo apt install -y nodejs
Website
cd /var/www/app
npm install
sudo npm install -g pm2
pm2 start app.js
.env
URL="http://localhost:3000/"
ADMINS="XXXXXXXXXXXXXXXXX,XXXXXXXXXXXXXXXXX"
STEAM_APIKEY="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
SESSION_SECRET="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
DB_PATH="./private/mmr.db"
REPORT_MATCH_APIKEY="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
SERVER_LIST_JSON="https://hypersomnia.xyz:8420/server_list_json"
DISCORD_CLIENT_SECRET="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
DISCORD_CLIENT_ID="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
DISCORD_BOT_TOKEN="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
IPINFO_API_TOKEN="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"