<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                ### 一,獲取前端 前端所在位置 ![](https://img.kancloud.cn/55/dc/55dc07594d337d04012329b1e8034da2_579x870.png) 用vscode打開前端,yarn初始化 ![](https://img.kancloud.cn/0e/5c/0e5c880fa15e976d1642d474ffde4e0f_1849x999.png) 完成后,修改index.js.修改請求IP為服務器IP ![](https://img.kancloud.cn/8b/72/8b7234e4821594e8fb62bb89d854bb85_1741x586.png) ```yarn serve```啟動vue,點擊鏈接進入前端 ```admin/Abcd1234``` ![](https://img.kancloud.cn/f6/b6/f6b6f8c4fde26d6b1f5a1d6c319eb286_1914x930.png) ### 二,打包部署 ```yarn build```打包vue前端項目,打包完可以看到一個 dist文件夾 ![](https://img.kancloud.cn/c9/fc/c9fcb38d7d48e4953df710613bb47b62_488x580.png) 在服務器創建兩個文件夾 ![](https://img.kancloud.cn/20/3a/203af68f51fc8b25dbef366353b78ad5_628x388.png) 在conf文件夾內放入 nginx,conf文件 生成新的docker鏡像,啟動nginx服務 ~~~ sudo docker run --name nginx-hospital --restart always -d -p 8081:8080 -v /mnt/nginx/conf/nginx.conf:/etc/nginx/nginx.conf -v /mnt/nginx/html:/usr/share/nginx/html nginx ~~~ 將打包的前端放入服務器 ![](https://img.kancloud.cn/ee/46/ee4684ec362e8090ca9ce6ccb859436d_1864x632.png) ```docker restart nginx-hospital ```重啟服務 http://121.36.64.88:8081 登陸 admin/Abcd1234 ![](https://img.kancloud.cn/e6/74/e674a33b48fcd7669e77be5230c502ec_1827x851.png) 后續不需要重啟nginx,只需要覆蓋前端就可以
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看