Git Product home page Git Product logo

discord-bot-dashboard's Introduction

Discord Bot Panel - DBP

Image

What's New?

  • New & Better UI
  • New stat charts & graphs
  • Web-based terminal/shell added
  • Updated .env, new setting options added
  • License changed from CC-BY-4.0 to MIT

Installation

Standard Installation

## Install PM2 Globally
npm i pm2 -g
## Install forever Globally
npm i forever -g
## Download Code
git clone https://github.com/jareer12/DiscordBotPanel.git
## Open the folder
cd DiscordBotPanel
## Install Required Modules
npm install
### Rename .env
mv .env.example .env

Docker Compose

## Clone this repository
git clone https://github.com/jareer12/DiscordBotPanel.git

## Rename .env - Change everything to your liking except PORT
mv .env.example .env

Demo

https://server.jubot.site/

Username: admin
Password: admin

Env config

Once installation is done, you can change the .env.example file name to .env and configure it to your liking.

Login System

By default the login system is disabled but you can enable it by changing LOGIN_REQUIRED=false to LOGIN_REQUIRED=true in your .env file. Credentials can be set from the env too.

Final Setup

Once the installation and configuration is complete we can start our panel and run it. We'll be using forever to run the panel, the reason we'll use forever is that it can prevent downtime, so in case our panel runs into and error that it can not handle(which it most likely will), forever will re-start the panel by itself, preventing downtime.

Standard (non-docker)

## Open the folder
cd DiscordBotPanel
## Run the panel
forever start index.js
## This can also be used but is not recommended
cd DiscordBotPanel && node .

Docker Compose

docker compose up -d

Nginx Config

server  {
    listen 80;
    server_name    server.jubot.site; ## Your Server

    location / {
        proxy_pass         http://localhost:2278; ### Replace "2278" With Your Port(If You Changed).
        proxy_http_version 1.1;
        proxy_set_header   Upgrade $http_upgrade;
        proxy_set_header   Connection "upgrade";
        proxy_set_header   Host $host;
    }
}

discord-bot-dashboard's People

Contributors

jub0t avatar jackbailey avatar zykkl avatar entraptaa avatar

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.