dominate-cli

1.0.5 • Public • Published

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-cli

Using 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/dominate

macOS:

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/dominate

Windows (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.exe

Usage

Start the Dominate backend

dominate start

Stop the Dominate backend

dominate stop

Pull the latest code from the Dominate backend repository

dominate install

View logs of the running backend containers

dominate logs

Display help information

dominate help

Prerequisites

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.

Readme

Keywords

none

Package Sidebar

Install

npm i dominate-cli

Weekly Downloads

1

Version

1.0.5

License

ISC

Unpacked Size

5.59 kB

Total Files

3

Last publish

Collaborators

  • iamvibs