~ Deploy Commands ~
~ About Commands ~
apt update
apt install git nodejs -y
git clone https://github.com/DarkMakerofc/OpenAi-ChatGPT-Bot.git
cd OpenAi-ChatGPT-Bot
npm install
npm start
-
apt update
: This command updates the package lists of the APT package manager on your system. It ensures that you have the latest information about available packages and their versions. -
apt install git nodejs -y
: This command installs thegit
version control system andnodejs
JavaScript runtime on your system. The-y
flag automatically confirms any prompts during installation, so you don't need to manually confirm. -
git clone https://github.com/DarkMakerofc/OpenAi-ChatGPT-Bot.git
: This command clones (downloads) a GitHub repository from the specified URL. In this case, it's cloning the "OpenAi-ChatGPT-Bot" repository hosted on GitHub. -
cd OpenAi-ChatGPT-Bot
: This command changes your current working directory to the "OpenAi-ChatGPT-Bot" directory. You use this directory to access the cloned repository's contents. -
npm install
: This command installs the Node.js project's dependencies. It reads thepackage.json
file in the project directory and installs the required Node.js packages specified there. -
npm start
: This command starts the application defined in thepackage.json
file under thescripts
section. Typically, it's used to launch the main functionality of the application, in this case, the ChatGPT Bot.