Giter Club home page Giter Club logo

reliactyl-2.0's Introduction

Reliactyl 2.0

Reliactyl
Reliactyl

Features

- Allows users to split resources throughout multiple servers on the Pterodactyl Panel, and uses a Discord OAuth2 as a login system(updated).
- 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)

Installination-Setup

Installing Dependencies

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

Database Setup

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 reliactyl.\* TO 'dashboard'@'%' WITH GRANT OPTION;
quit;

Webserver Config

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;
    }
}

Starting Reliactyl 2.0

  1. Testing
    cd path/to/the/reliactyl
    node index.js

  2. Production
    cd path/to/the/reliactyl
    npm install pm2 -g
    pm2 start index.js
    pm2 save

Join our Reliactyl

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.