From 8a338ea12c394eec9082d86263f3490501c26bdc Mon Sep 17 00:00:00 2001 From: Imvedansh <113465074+Imvedansh@users.noreply.github.com> Date: Tue, 25 Mar 2025 15:55:04 +0530 Subject: [PATCH] In Install.md->CloudStack UI Commands(npm) (#10593) --- INSTALL.md | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index e133e7d7b91..3685037bfe2 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -37,6 +37,7 @@ Setup up NodeJS (LTS): Start the MySQL service: $ service mysqld start + $ mysql_secure_installation ### Using jenv and/or pyenv for Version Management @@ -86,13 +87,33 @@ Start the management server: If this works, you've successfully setup a single server Apache CloudStack installation. -Open the following URL on your browser to access the Management Server UI: - - http://localhost:8080/client/ +To access the Management Server UI, follow the following procedure: The default credentials are; user: admin, password: password and the domain field should be left blank which is defaulted to the ROOT domain. +## To bring up CloudStack UI + +Move to UI Directory + + $ cd /path/to/cloudstack/ui + +To install dependencies. + + $ npm install + +To build the project. + + $ npm build + +For Development Mode. + + $ npm start + +Make sure to set CS_URL=http://localhost:8080/client on .env.local file on ui. + +You should be able to run the management server on http://localhost:5050 + ## Building with non-redistributable plugins CloudStack supports several plugins that depend on libraries with distribution restrictions.