mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 01:32:18 +02:00
README updates and CS_URL fix
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
d239343351
commit
7e68421f68
@ -1 +1 @@
|
||||
API_URL=http://localhost:8080/client/api
|
||||
CS_URL=http://localhost:8080
|
||||
|
||||
24
ui/README.md
24
ui/README.md
@ -4,22 +4,26 @@ A modern role-based progressive CloudStack UI based on VueJS and Ant Design.
|
||||
|
||||

|
||||
|
||||
## Env and dependencies
|
||||
## Getting Started
|
||||
|
||||
- node
|
||||
- webpack
|
||||
- eslint
|
||||
- @vue/cli ~3
|
||||
Install node: (Debian/Ubuntu)
|
||||
|
||||
sudo apt-get install npm nodejs
|
||||
|
||||
Install node: (CentOS/Fedora)
|
||||
|
||||
curl -sL https://rpm.nodesource.com/setup_10.x | sudo bash -
|
||||
sudo yum install nodejs
|
||||
|
||||
Install tools and dependencies:
|
||||
|
||||
sudo apt-get install npm
|
||||
sudo npm i -g npm@next
|
||||
sudo npm i -g npm-check-updates
|
||||
sudo npm install -g @vue/cli webpack eslint
|
||||
sudo npm install -g npm@next
|
||||
sudo npm install -g npm-check-updates
|
||||
ncu -u # optional: upgrade dependencies
|
||||
npm install
|
||||
|
||||
## Developing against CloudStack Env
|
||||
## Development
|
||||
|
||||
Override the default `API_URL` to a running CloudStack management server:
|
||||
|
||||
@ -73,6 +77,8 @@ eg:
|
||||
|
||||
### Attributions
|
||||
|
||||
Primate uses the following:
|
||||
|
||||
- [VueJS](https://vuejs.org/)
|
||||
- [Ant Design Spec](https://ant.design/docs/spec/introduce)
|
||||
- [Ant Design Vue](https://vue.ant.design/)
|
||||
|
||||
@ -91,8 +91,8 @@ module.exports = {
|
||||
devServer: {
|
||||
port: 5050,
|
||||
proxy: {
|
||||
'/client/api': {
|
||||
target: process.env.API_URL || 'http://localhost:8080/client/api',
|
||||
'/client': {
|
||||
target: process.env.CS_URL || 'http://localhost:8080',
|
||||
secure: false,
|
||||
ws: false,
|
||||
changeOrigin: true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user