<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>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                ### 1. npm i 啟動項目 ``` 推送本地代碼到碼云,項目部署服務器公鑰,注意,不是個人設置的公鑰,是項目設置中的部署公鑰 cd /var/www/ // 進入www文件夾 (centos 默認在 /usr/share/nginx/html) cd html // 進入 www 中 html 文件夾 mkdir /data // 新建 data 文件夾 cd /data // 進入 git clone git@gitee.com:MrXuxu/toLike.git // 拉取代碼 cd 到項目中,npm i 安裝項目 node index.js ``` > 出現 cb() never be called 等錯誤,升級 npm解決 1. 首先要以管理員模式打開cmd清除你的npm緩存 :?npm cache clean -f 2. 清除完緩存后,安裝最新版本的Node helper: npm install -g n? 如果錯誤,執行以下? ? npm install -g n --force 3. 告訴助手(n)安裝最新的穩定版Node:n stable ### 2. 安裝 PM2,在服務器部署 ``` npm i -g pm2 pm2 start index.js // 啟動 ``` ![](https://img.kancloud.cn/c4/f9/c4f94818b7a3308d5956497d1273e0ae_1920x903.png) ``` pm2 logs index // 查看 curl http://localhost:3000/admin/ // 請求地址 ``` ### 3. pm2 需要在代碼更新后手動重新加 ``` pm2 reload index.js ```
                  <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>

                              哎呀哎呀视频在线观看