Skip to content

TeamHypersomnia/Hypersomnia-homepage

Repository files navigation

Hypersomnia Website

https://hypersomnia.xyz/

Installation

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

Configuration

.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"