aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui/README.md
blob: cb103ce889dcccf0f0e026f220ad6f64485899e3 (plain)
@media only all and (prefers-color-scheme: dark) { .highlight .hll { background-color: #49483e } .highlight .c { color: #75715e } /* Comment */ .highlight .err { color: #960050; background-color: #1e0010 } /* Error */ .highlight .k { color: #66d9ef } /* Keyword */ .highlight .l { color: #ae81ff } /* Literal */ .highlight .n { color: #f8f8f2 } /* Name */ .highlight .o { color: #f92672 } /* Operator */ .highlight .p { color: #f8f8f2 } /* Punctuation */ .highlight .ch { color: #75715e } /* Comment.Hashbang */ .highlight .cm { color: #75715e } /* Comment.Multiline */ .highlight .cp { color: #75715e } /* Comment.Preproc */ .highlight .cpf { color: #75715e } /* Comment.PreprocFile */ .highlight .c1 { color: #75715e } /* Comment.Single */ .highlight .cs { color: #75715e } /* Comment.Special */ .highlight .gd { color: #f92672 } /* Generic.Deleted */ .highlight .ge { font-style: italic } /* Generic.Emph */ .highlight .gi { color: #a6e22e } /* Generic.Inserted */ .highlight .gs { font-weight: bold } /* Generic.Strong */ .highlight .gu { color: #75715e } /
# ASDC - Amdocs Onboard UI App

## Setup

##### Install `nodejs`:
			
download nodejs from here: https://nodejs.org/en/ (take the "current" version with latest features) & install it.
##### Install `gulp`

install gulp by running the following command `npm install --global gulp-cli`

##### Install DOX-UI
* pull for latest changes
* go to folder `dox-sequence-diagram-ui`
* run `npm install`
* wait for it...
* go to folder `openecomp-ui`
* run `npm install`
* create a copy of `devConfig.defaults.json` file and name it `devConfig.json` (we already configured git to ignore it so it will not be pushed)
in that file.
  
  populate the fields of the IP addresses of your BE machine you'd like to connect (**pay attention, it is a JSON file**):
  
  For example *http://\<host>:\<port>* 
* run `npm start`
* your favorite UI will wait for you at: `http://localhost:9000/sdc1/proxy-designer1#/onboardVendor`



#### Troubleshooting
Problem | Why is this happening | Solution
------- | --------------------- | --------
npm cannot reach destination | proxy | When within managed network, you should set your proxy to NPM as the following: <br> `npm config set proxy http://<host>:<port>` <br> `npm config set https-proxy http://<host>:<port>`
git protocol is blocked and cannot connect | managed network rules for protocols	| When within managed network, you should set globally that when git protocol is used, then it will be replaced with "https" <br> `git config --global url."https://".insteadOf git://`