Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you get "error-1698-28000-access-denied-for-user-rootlocalhost" check this
https://stackoverflow.com/questions/39281594/error-1698-28000-access-denied-for-user-rootlocalhost

Copy frontend to nginx root web dir

Code Block
languagebash
themeRDark
~/onap-bbs-fe-be/bss-fe$ sudo cp -fr * /var/www/html/

Modify the IP of the backend server configured in the fe (dirty hack to avoid rebuilding the frontend)

...

languagebash
themeRDark

...

Build bss-fe



Build Setup
# install dependencies
npm install

# configure
Ensure "baseURL" is set to the correct IP in config/prod.env.js

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run unit tests
npm run unit

# run all tests
npm test
For a detailed explanation on how things work, check out the guide and docs for vue-loader.


Copy frontend to nginx root web dir

Code Block
languagebash
themeRDark
~/onap-bbs-fe-be/bss-fe$ sudo cp -fr * /var/www/html/


Open app.py and set the template_id / service_id UUID, and user

...