diff --git a/ui/README.md b/ui/README.md index fbd9a340b3f..225656f3077 100644 --- a/ui/README.md +++ b/ui/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) +Install node: (CentOS/Fedora/RHEL) - 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: