<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 8/12/2020 2:38 AM, 李 星星 wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:BN8PR20MB268985C7163EF6A03E9E47ADA7420@BN8PR20MB2689.namprd20.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"\@\7B49 \7EBF ";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Times;
        panose-1:0 0 5 0 0 0 0 2 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:DengXian;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:DengXian;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:DengXian;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
      <div class="WordSection1">
        <p class="MsoNormal"><span style="font-family:Times"
            lang="EN-US">Hi,<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:Times"
            lang="EN-US">       I am stark and a newbee for openBMC
            development.</span></p>
      </div>
    </blockquote>
    Welcome to OpenBMC!<br>
    <br>
    <blockquote type="cite"
cite="mid:BN8PR20MB268985C7163EF6A03E9E47ADA7420@BN8PR20MB2689.namprd20.prod.outlook.com">
      <div class="WordSection1">
        <p class="MsoNormal"><span style="font-family:Times"
            lang="EN-US">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. <o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:21.0pt"><span
            style="font-family:Times" lang="EN-US">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.
            <o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:21.0pt"><span
            style="font-family:Times" lang="EN-US">But as requirement we
            want to customize the WebUI and I try to do as Github. I put
            phosphor-webui in build directory. </span></p>
      </div>
    </blockquote>
    I would really recommend you give
    <a class="moz-txt-link-freetext" href="https://github.com/openbmc/webui-vue">https://github.com/openbmc/webui-vue</a> a look, it is a replacement for
    phosphor-webui. <br>
    <span id="output" class="style-scope gr-linked-text">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.<br>
      <br>
    </span>
    <blockquote type="cite"
cite="mid:BN8PR20MB268985C7163EF6A03E9E47ADA7420@BN8PR20MB2689.namprd20.prod.outlook.com">
      <div class="WordSection1">
        <p class="MsoNormal" style="text-indent:21.0pt"><span
            style="font-family:Times" lang="EN-US">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.
          </span></p>
      </div>
    </blockquote>
    <p>To run the GUI locally you need to recompile bmcweb with
      BMCWEB_INSECURE_DISABLE_XSS_PREVENTION and
      BMCWEB_INSECURE_DISABLE_CSRF_PREVENTION turned on.<br>
      These are insecure and should be used for development only.<br>
      <br>
      <a class="moz-txt-link-freetext" href="https://github.com/openbmc/phosphor-webui#logging-in">https://github.com/openbmc/phosphor-webui#logging-in</a><br>
      <br>
    </p>
    <blockquote type="cite"
cite="mid:BN8PR20MB268985C7163EF6A03E9E47ADA7420@BN8PR20MB2689.namprd20.prod.outlook.com">
      <div class="WordSection1">
        <p class="MsoNormal" style="text-indent:21.0pt"><span
            style="font-family:Times" lang="EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:21.0pt"><span
            style="font-family:Times" lang="EN-US">After that I find
            original code in
/home/bmc/openbmc/build/tmp/work/all-openbmc-linux/phosphor-webui/1.0+gitAUTOINC+2e1eec80de-r1/git/,
            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.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:Times"
            lang="EN-US"><o:p> <br>
            </o:p></span></p>
      </div>
    </blockquote>
    <p>Have you seen
      <a class="moz-txt-link-freetext" href="https://github.com/openbmc/docs/blob/master/development/web-ui.md">https://github.com/openbmc/docs/blob/master/development/web-ui.md</a>
      ?<br>
      <br>
      - Gunnar<br>
    </p>
    <span id="output" class="style-scope gr-linked-text"></span>
    <p><br>
    </p>
  </body>
</html>