You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2020/02/27 15:12:42 UTC

[cloudstack-primate] branch master updated: README: installation and usage updates

This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack-primate.git


The following commit(s) were added to refs/heads/master by this push:
     new bf0c22b  README: installation and usage updates
bf0c22b is described below

commit bf0c22b8a5a6e8d743ca649ca703abc0c46d766e
Author: Rohit Yadav <ro...@shapeblue.com>
AuthorDate: Thu Feb 27 20:38:33 2020 +0530

    README: installation and usage updates
---
 README.md | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/README.md b/README.md
index fbd9a34..b31835f 100644
--- a/README.md
+++ b/README.md
@@ -8,18 +8,18 @@ A modern role-based progressive CloudStack UI based on VueJS and Ant Design.
 
 Install node: (Debian/Ubuntu)
 
-    sudo apt-get install npm nodejs
+    curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
+    sudo apt-get install -y nodejs
+    # Or use distro provided: sudo apt-get install npm nodejs
+    
+Install node: (CentOS/Fedora/RHEL)
 
-Install node: (CentOS/Fedora)
-
-    curl -sL https://rpm.nodesource.com/setup_10.x | sudo bash -
+    curl -sL https://rpm.nodesource.com/setup_12.x | sudo bash -
     sudo yum install nodejs
 
 For development, install tools and dependencies system-wide:
 
-    sudo npm install -g @vue/cli webpack eslint
-    sudo npm install -g npm@next
-    sudo npm install -g npm-check-updates
+    sudo npm install -g @vue/cli webpack eslint npm-check-updates
 
 ## Development
 
@@ -38,9 +38,8 @@ To configure https, you may use `.env.local.https.example`.
 
 Build and run:
 
-    npm start
-    or
     npm run serve
+    # Or run: npm start
 
 Upgrade dependencies to the latest versions: