From 30abd2c8c3e5e8b255894231a7dde056613bc0ca Mon Sep 17 00:00:00 2001
From: ikun <ikun0014@qq.com>
Date: Fri, 12 Apr 2024 00:22:51 +0800
Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0Linux=E9=83=A8?=
 =?UTF-8?q?=E7=BD=B2=E6=96=87=E6=A1=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/deploy/deploy-linuxordarwin.md | 41 +++++++++++++++++++++++++++++-
 1 file changed, 40 insertions(+), 1 deletion(-)

diff --git a/src/deploy/deploy-linuxordarwin.md b/src/deploy/deploy-linuxordarwin.md
index c282505..989a77c 100644
--- a/src/deploy/deploy-linuxordarwin.md
+++ b/src/deploy/deploy-linuxordarwin.md
@@ -10,4 +10,43 @@ date: 2024-04-10
 index: false
 ---
 
-## 111
\ No newline at end of file
+## Linux部署教程,演示系统:Ubuntu 22.04
+
+1.安装Python,Git
+``` bash
+sudo apt update
+sudo apt install python3 python3-pip git -y
+```
+2.安装ffmpeg(可选项,如开启本地音乐播放必须安装)
+``` bash
+sudo apt install ffmpeg
+```
+3.克隆仓库
+``` bash
+git clone https://github.com/helloplhm-qwq/lx-music-api-server -b main
+
+git clone https://github.moeyy.xyz/github.com/helloplhm-qwq/lx-music-api-server -b main
+```
+根据网络环境选择
+
+4.安装依赖
+::: details pip
+``` bash
+pip3 config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple(可选的操作)
+pip3 install -r requirements.txt
+```
+:::  
+
+::: details poetry
+``` bash
+pip3 install poetry
+poetry install
+```
+:::
+5.启动服务器
+``` bash
+python3 main.py
+```
+如果屏幕上输出了监听IP:Port,那么恭喜您,部署已完成!:yum:
+
+## Mac OS(待补充)
\ No newline at end of file