1.0.2 • Published 5 years ago
pmm-framework-cli v1.0.2
pmm-framework-cli
User friendly & cross-platfrom CLI tool to use pmm-framework and quickly deploy PMM architecture.
Requirements:
NodeJSVagrantVirtualBox
Usage:
Upon execution, a series of queries will be asked and according to them the required parameters will be passed to pmm-framework.sh. This can be used to set up PMM on the current host or Vagrant Box guest.
To install pmm-framework-cli in current directory:
npm i pmm-framework-cli
npx pmm-framework-cliOr (to install globally)
sudo npm i -g pmm-framework-cli
sudo pmm-framework-cliOr
git clone https://github.com/meet59patel/pmm-framework-cli.git
cd pmm-framework-cli
npm install
npm startFor installation on Vagrant box:
Ubuntu 18.04 (LTS)andCentOS 8guest are supported, with Docker inside them- Vagrantfile and provisioning script will be placed under the directory:
src/vagrantboxes/server/orsrc/vagrantboxes/client/ - Vagrant Box will be set up and provisioned according to user's choices
- Base
Vagrantfileandprovision.share available under/src/vagrantfiles - By default, guest
port 80is forwarded to hostport 8080(Can be changed from Vagrantfile)
Directory Structure
src
├── index.js
├── questions.js
└── vagrantfiles
├── client
│ ├── centos
│ │ ├── Vagrantfile
│ │ └── provision.sh
│ └── ubuntu
│ ├── Vagrantfile
│ └── provision.sh
└── server
├── centos
│ ├── Vagrantfile
│ └── provision.sh
└── ubuntu
├── Vagrantfile
└── provision.shScreenshots
