README: installation and usage updates

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2020-02-27 20:38:33 +05:30
parent cdf82abd9f
commit 695ecac839

View File

@ -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: