Question about WEBUI
gmills at linux.vnet.ibm.com
Thu Aug 13 01:19:55 AEST 2020
On 8/12/2020 2:38 AM, 李 星星 wrote:
> I am stark and a newbee for openBMC development.
Welcome to OpenBMC!
> Our company are planning to develop a customized software to manage
> BMC for our template. I am trying to use openBMC as framework and I
> have set up all required environment.
> For now I have set up a system based on Ubantu 16.0.4 and download all
> packages. Then I successfully build an image based on Romulus and use
> qemu to start it. And I can open localhost:2443 to manage it. All the
> steps have been done as Github procedures.
> But as requirement we want to customize the WebUI and I try to do as
> Github. I put phosphor-webui in build directory.
I would really recommend you give https://github.com/openbmc/webui-vue a
look, it is a replacement for phosphor-webui.
webui-vue uses the Redfish API, is translatable, themeable, does not
suffer some the anti-patterns that exist in phosphor-webui today, and is
built on Vue.
> And use npm start it. My npm version is 6.14.7. But when I try to
> login into my image with special IP address. It failed and show
> cors-xml problem and server unreachable.
To run the GUI locally you need to recompile bmcweb with
BMCWEB_INSECURE_DISABLE_CSRF_PREVENTION turned on.
These are insecure and should be used for development only.
> After that I find original code in
> and I try to change its logo picture. But it did not work. Can you
> give some advices how to do that? I can’t find some useful tutorials.
Have you seen
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the openbmc