Code Monkey home page Code Monkey logo

gradient's Introduction

Gradient

A discord music bot with a cool dashboard. image

Setup instructions

requirements

setup

clone the repository

git clone https://github.com/tmatis/gradient.git
cd gradient

setup environment variables

Copy the following environment variables into a file named .env in the root of the project.

DOMAIN_NAME=
EMAIL=
DISCORD_TOKEN=
JWT_SECRET=
YOUTUBE_API_KEY=
  • DOMAIN_NAME is the domain name of the server. your need to have a DNS record pointing to the server. to generate a certificate for the domain name, certbot is used.
  • EMAIL is the email address used to generate the certificate.
  • DISCORD_TOKEN is the token of the discord bot. see here for more information.
  • JWT_SECRET is the secret used to sign the JWT tokens. it can be any string. it is recommended to use a random string.
  • YOUTUBE_API_KEY is the API key used to fetch the videos from youtube. see here for more information. Note: the youtube API key is required to fetch channel content but is not required to fetch playlist, search results or videos.

start the app

Start the server with the following command.

docker-compose up

if you don't see any error you can detach from the process with Ctrl + C and run the following command to start the server in the background.

docker-compose up -d

stop the app

docker-compose down

update the app

git pull
docker-compose down
docker-compose up -d

gradient's People

Contributors

froz42 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.