@aventum/cli v1.0.1
Aventum CLI
CLI app to help you in your journey with Aventum!
Table of Contents
Documentation
Requirements
Installation
Run:
npm install @aventum/cli -gUsage
Go to an empty folder that you have permissions to write into it and run:
aventum create -rHow it works
Aventum CLI download, configure, build, and run the Aventum app for you.
Commands
create/c
Create Aventum app.
Options
| Option | Description | Default |
|---|---|---|
-dp, --dashboard-port | Set dashboard port. | 3333 |
-d, --docker | Create Aventum app using Docker Compose template. | |
-r, --run | Run Aventum app, only work if it is not a docker compose app. |
Examples
Create and run Aventum app and use port 3500 for the dashboard.
aventum c -r -dp 3500same as
aventum create -r -dp 3500server-configurations/sc
Reset/regenerate Aventum server configurations.
Options
| Option | Description | Default |
|---|---|---|
-b, --build | Build Aventum dashboard, because if you changed the server port you may want to update REACT_APP_BASE_URL in .env.production of the dashboard and rebuild it, this option do this for you. |
Examples
Generate server configurations and rebuild the dashboard.
aventum sc --buildsame as
aventum server-configurations --buildrun/r
Run Aventum app that doesn't created using Docker Compose template and created previously using Aventum CLI.
Options
| Option | Description | Default |
|---|---|---|
-dp, --dashboard-port | Set dashboard port. | 3333 |
Examples
Run Aventum app and set the dashboard port to 3500
aventum r -dp 3500same as
aventum run -dp 3500To get help run:
aventum -hor
aventum --helpSupport
You are welcome to contribute code and provide pull requests for Aventum CLI, also please feel free to suggest or request any features or enhancements.
License
Copyright (c) 2020 Mohammed Al-Mahdawi Licensed under the MIT license.