dominate-cli
v1.0.5
Published
Dominate CLI tool
Readme
Dominate CLI
A CLI tool for managing and deploying the Dominate backend.
Features
- Start and stop the Dominate backend locally with a single command
- Pull the latest code from the Dominate backend repository
- View logs of the running backend containers
Installation
Using npm (Recommended)
Make sure you have Node.js and npm installed on your system.
Run the following command to install dominate-cli globally:
npm install -g dominate-cliUsing curl
Linux:
curl -sL https://raw.githubusercontent.com/DominateAi/Dominate-AI/master/cli-binaries/dominate-cli-linux -o /usr/local/bin/dominate
chmod +x /usr/local/bin/dominatemacOS:
curl -sL https://raw.githubusercontent.com/DominateAi/Dominate-AI/master/cli-binaries/dominate-cli-macos -o /usr/local/bin/dominate
chmod +x /usr/local/bin/dominateWindows (using Git Bash or similar):
curl -sL https://raw.githubusercontent.com/DominateAi/Dominate-AI/master/cli-binaries/dominate-cli-win.exe -o /c/Windows/System32/dominate.exeUsage
Start the Dominate backend
dominate startStop the Dominate backend
dominate stopPull the latest code from the Dominate backend repository
dominate installView logs of the running backend containers
dominate logsDisplay help information
dominate helpPrerequisites
Before using the dominate-cli tool, ensure that you have the following prerequisites installed on your system:
Configuration
The dominate-cli tool uses the docker-compose-dev.yml file located in the dominate-backend/docker-compose directory to start and stop the backend containers. Make sure this file is properly configured according to your backend setup.
