GithubHelp home page GithubHelp logo

dragoncheckbeta's Introduction

Command to install

wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash && export NVM_DIR="$HOME/.nvm" && [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" && [ -s "$NVM_DIR/bash_completion" ] && . "$NVM_DIR/bash_completion" && nvm install 16 && apt install git screen -y && git clone https://github.com/Penguinehis/dragoncheckbeta.git && cd dragoncheckbeta && npm i && screen -dmS api node v18.js --token=TOKEN --port=6888

IN TOKEN, change to your key exemple: penguinehhis091m31041kl4014 (this key not work is just a exemple)

if you view in the command:

lsof -i :6888 && lsof -i :6889 && lsof -i :8989 && lsof -i :2095 && lsof -i :2096

the node and the port exemple:

COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
node 794754 root 22u IPv6 2872037 0t0 TCP *:6888 (LISTEN)

If not try to run the node without the screen to get the error:

node index.js TOKEN

In this case in the folder dragoncheckbeta

If need any support just send a menssage here in github our in the telegram https://t.me/sisudragon

Restart API After REBOOT:

V18:

cd dragoncheckbeta && screen -dmS api node v18.js --token=TOKEN --port=PORT && cd

Update to v18:

cd dragoncheckbeta && wget https://raw.githubusercontent.com/Penguinehis/dragoncheckbeta/main/v18.js && rm config.json && wget https://raw.githubusercontent.com/Penguinehis/dragoncheckbeta/main/config.json

How to auto start with reboot?

in the folder dragoncheckbeta create a .sh with that

#!/bin/bash
screen -dmS api /root/.nvm/versions/node/v16.15.0/bin/node /root/dragoncheckbeta/v18.js --token=TOKEN --port=PORT

Change the Token, to your token

and change the PORT, to your desired port exemple 6888

after that do chmod 777 name of the .sh

in crontab -e

select nano

and put this line

@reboot /root/name of the .sh

ctrl + x

Y

Enter

and its it

dragoncheckbeta's People

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.