commit | 596a3ec941ee9384270e09c2caffa728325d480a | [log] [tgz] |
---|---|---|
author | Gunnar Mills <gmills@us.ibm.com> | Wed Jul 24 14:03:29 2019 -0500 |
committer | Gunnar Mills <gmills@us.ibm.com> | Wed Jul 31 15:25:31 2019 +0000 |
tree | 5ffbcf231c7f09a1880aebc66911b9051d7b7672 | |
parent | f000468d501d7e11aefb7e271bee8730cb4988cd [diff] |
Move the required npm version to 6.0.1 Since moved to a npm 6 generated package-lock.json, bump the required npm version to prevent churn in package-lock.json. This is a "advisory only", to enforce, the package.json would need "engineStrict" : true, http://www.marcusoft.net/2015/03/packagejson-and-engines-and-enginestrict.html Fine that users build with npm 5 as long as they don't check in their package-lock.json. After downgrading to 5.6 and running npm install bash-4.1$ git diff package-lock.json | wc -l 7913 Tested: "npm install && npm run build" with an npm 5.6, still builds. Change-Id: I77899eabc1f6a450a40e005dd43404b034c31768 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
The OpenBMC WebUI is a Web-based user interface for the OpenBMC firmware stack. The WebUI uses AngularJS. Features include:
nodejs (>= 4.2.6) npm (>= 6.0.1)
Note The default installation of your Linux distro may not come with the required versions above. See the following for more information on updating:
https://docs.npmjs.com/troubleshooting/try-the-latest-stable-version-of-node https://docs.npmjs.com/troubleshooting/try-the-latest-stable-version-of-npm
npm install
Note This must be run from within the phosphor-webui git repository.
npm run-script server
This will start a server instance and begin listening for connections at http://localhost:8080
. This development server provides live reloading on code changes. NOTE: Browsing to https://<BMC>
and accepting the self-signed certificate might be required to prevent your browser from blocking traffic to the BMC.
Enter the BMC Host or BMC IP address, username, and password. The default username and password are root
/0penBmc
.
Note that some OpenBMC implementations use bmcweb for its backend. For security reasons, bmcweb will need to be recompiled and loaded onto the target BMC Host before the above redirect command will work. The option to turn on within bmcweb is BMCWEB_INSECURE_DISABLE_XSS_PREVENTION
.