- Coins (AFK Page earning)
- Coupons (Gives resources & coins to a user)
- Servers (create, view, edit servers)
- Store (buy resources with coins)
- User System (auth, regen password, profile)
- Join for Resources (join discord servers for resources)
- API (for bots & other things)
- Anti-ADBlock (BlockADBlock)
- Multi-Lang Support(Soon)
sudo apt update && sudo apt upgrade
sudo apt install git
curl -fsSL https://deb.nodesource.com/setup_14.x | sudo bash -
sudo apt install nodejs
sudo apt install mariadb-server
sudo mysql_secure_installation
npm -v
git clone https://github.com/Reliactyl/Reliactyl.git
cd Reliactyl
cp settings-template.yml settings.yml
sudo nano settings.yml
and type all require settings
sudo npm install
sudo apt install nginx
sudo apt install certbot
sudo apt install -y python3-certbot-nginx
mysql -u root -p
# After you've got that setup, let's go into the next step. Remember to change 'YourPasswordHere' with a secure password.
CREATE USER 'dashboard'@'%' IDENTIFIED BY 'YourPasswordHere';
CREATE DATABASE reliactyl;
GRANT ALL PRIVILEGES ON dashactyl.\* TO 'dashboard'@'%' WITH GRANT OPTION;
quit;
systemctl start nginx
certbot certonly --nginx -d your.domain
sudo nano /etc/nginx/sites-enabled/reliactyl.conf
# In reliactyl, paste this config and change the varible
server {
listen 80;
server_name <domain_name>;
return 301 https://$server_name$request_uri;
}
server {
listen 443 ssl http2;
server_name <domain_name>;
ssl_certificate /etc/letsencrypt/live/<domain_name>/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/<domain_name>/privkey.pem;
ssl_session_cache shared:SSL:10m;
ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
location /afkwspath {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_pass "http://localhost:<port>/afkwspath";
}
location / {
proxy_pass http://localhost:<port>/;
proxy_buffering off;
proxy_set_header X-Real-IP $remote_addr;
}
location = /arc-sw.js {
proxy_pass https://arc.io;
proxy_ssl_server_name on;
}
}
-
Testing
cd path/to/the/reliactyl
node index.js
-
Production
cd path/to/the/reliactyl
npm install pm2 -g
pm2 start index.js
pm2 save