lx-music-api-server/assets/deploy-linuxordarwin.html-DP48X77b.js

13 lines
6.2 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as a,c as n,e as t}from"./app-BdFkbsUg.js";const s={},i=t(`<h2 id="linux部署教程-演示系统-ubuntu-22-04" tabindex="-1"><a class="header-anchor" href="#linux部署教程-演示系统-ubuntu-22-04"><span>Linux部署教程演示系统Ubuntu 22.04</span></a></h2><p>1.安装Python,Git</p><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code><span class="token function">sudo</span> <span class="token function">apt</span> update
<span class="token function">sudo</span> <span class="token function">apt</span> <span class="token function">install</span> python3 python3-pip <span class="token function">git</span> <span class="token parameter variable">-y</span>
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div></div></div><p>2.安装ffmpeg(可选项,如开启本地音乐播放必须安装)</p><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code><span class="token function">sudo</span> <span class="token function">apt</span> <span class="token function">install</span> ffmpeg
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div></div></div><p>3.克隆仓库</p><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code><span class="token function">git</span> clone https://github.com/MeoProject/lx-music-api-server <span class="token parameter variable">-b</span> main
<span class="token function">git</span> clone https://github.moeyy.xyz/github.com/MeoProject/lx-music-api-server <span class="token parameter variable">-b</span> main
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><p>根据网络环境选择</p><p>4.安装依赖</p><details class="hint-container details"><summary>pip</summary><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code>pip3 config <span class="token builtin class-name">set</span> global.index-url https://pypi.tuna.tsinghua.edu.cn/simple<span class="token punctuation">(</span>可选的操作<span class="token punctuation">)</span>
pip3 <span class="token function">install</span> <span class="token parameter variable">-r</span> requirements.txt
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div></div></div></details><details class="hint-container details"><summary>poetry</summary><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code>pip3 <span class="token function">install</span> poetry
poetry <span class="token function">install</span>
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div></div></div></details><p>5.启动服务器</p><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code>python3 main.py
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div></div></div><p>如果屏幕上输出了监听IP:Port那么恭喜您部署已完成!😋</p><h2 id="mac-os-待补充" tabindex="-1"><a class="header-anchor" href="#mac-os-待补充"><span>Mac OS(待补充)</span></a></h2>`,15),l=[i];function o(p,r){return a(),n("div",null,l)}const u=e(s,[["render",o],["__file","deploy-linuxordarwin.html.vue"]]),m=JSON.parse('{"path":"/deploy/deploy-linuxordarwin.html","title":"Linux or MacOS部署教程","lang":"zh-CN","frontmatter":{"head":[["meta",{"name":"keywords","content":"Linux or MacOS部署教程"}],["meta",{"property":"og:url","content":"https://apidoc.zcmonety.xyz/deploy/deploy-linuxordarwin.html"}],["meta",{"property":"og:site_name","content":"LX Music Api Server"}],["meta",{"property":"og:title","content":"Linux or MacOS部署教程"}],["meta",{"property":"og:description","content":"Linux部署教程演示系统Ubuntu 22.04 1.安装Python,Git 2.安装ffmpeg(可选项,如开启本地音乐播放必须安装) 3.克隆仓库 根据网络环境选择 4.安装依赖 pip poetry 5.启动服务器 如果屏幕上输出了监听IP:Port那么恭喜您部署已完成!😋 Mac OS(待补充)"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-14T06:31:12.000Z"}],["meta",{"property":"article:author","content":"ikun0014"}],["meta",{"property":"article:published_time","content":"2024-04-10T00:00:00.000Z"}],["meta",{"property":"article:modified_time","content":"2024-04-14T06:31:12.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Linux or MacOS部署教程\\",\\"image\\":[\\"\\"],\\"datePublished\\":\\"2024-04-10T00:00:00.000Z\\",\\"dateModified\\":\\"2024-04-14T06:31:12.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"ikun0014\\"}]}"]],"title":"Linux or MacOS部署教程","icon":"fas fa-file-alt","author":"ikun0014","date":"2024-04-10T00:00:00.000Z","index":false,"description":"Linux部署教程演示系统Ubuntu 22.04 1.安装Python,Git 2.安装ffmpeg(可选项,如开启本地音乐播放必须安装) 3.克隆仓库 根据网络环境选择 4.安装依赖 pip poetry 5.启动服务器 如果屏幕上输出了监听IP:Port那么恭喜您部署已完成!😋 Mac OS(待补充)"},"headers":[{"level":2,"title":"Linux部署教程演示系统Ubuntu 22.04","slug":"linux部署教程-演示系统-ubuntu-22-04","link":"#linux部署教程-演示系统-ubuntu-22-04","children":[]},{"level":2,"title":"Mac OS(待补充)","slug":"mac-os-待补充","link":"#mac-os-待补充","children":[]}],"git":{"createdTime":1712763316000,"updatedTime":1713076272000,"contributors":[{"name":"ikun","email":"ikun0014@qq.com","commits":5}]},"readingTime":{"minutes":0.62,"words":187},"filePathRelative":"deploy/deploy-linuxordarwin.md","localizedDate":"2024年4月10日","autoDesc":true}');export{u as comp,m as data};