1
0
forked from bot/app
LiteyukiBot/assets/install.html-CRBUO7QA.js

2 lines
5.6 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 i,r as n,o as a,c,b as e,d as t,a as l,e as d}from"./app-Cmt1prUf.js";const r={},s=d('<h3 id="设备要求" tabindex="-1"><a class="header-anchor" href="#设备要求"><span>设备要求</span></a></h3><ul><li>Windows系统版本最低<code>Windows10+</code>/<code>Windows Server 2019+</code></li><li>Linux系统要支持Python3.10+,推荐<code>Ubuntu 20.04+</code>(<s>别用你那b CentOS</s>)</li><li>CPU: 至少<code>1vCPU</code></li><li>内存: Bot无其他插件会占用<code>200~300MB</code>,其他插件占用视具体插件而定,建议<code>1GB</code>以上</li><li>硬盘: 至少<code>1GB</code>空间</li></ul><h3 id="开始安装" tabindex="-1"><a class="header-anchor" href="#开始安装"><span>开始安装</span></a></h3><ol><li>安装 <code>Git</code> 和 <code>Python3.10+</code> 环境</li><li>克隆项目 <code>git clone https://github.com/snowykami/LiteyukiBot</code></li><li>切换目录<code>cd LiteyukiBot</code></li><li>安装依赖<code>pip install -r requirements.txt</code></li><li>启动<code>python main.py</code></li></ol><div class="hint-container warning"><p class="hint-container-title">注意</p><p>请确保你的Python环境正确如果设备上有多个环境请使用<code>path/to/python -m pip install -r requirements.txt</code>来安装依赖,<code>path/to/python</code>为你的Python可执行文件路径</p></div><div class="hint-container tip"><p class="hint-container-title">提示</p><p>推荐使用虚拟环境来运行轻雪,以避免依赖冲突,你可以使用<code>python -m venv venv</code>来创建虚拟环境,然后使用<code>venv\\Scripts\\activate</code>来激活虚拟环境</p></div><div class="hint-container warning"><p class="hint-container-title">注意</p><p>轻雪的更新功能依赖Git如果你没有安装Git你将无法使用更新功能</p></div><h4 id="其他问题请移步至答疑" tabindex="-1"><a class="header-anchor" href="#其他问题请移步至答疑"><span>其他问题请移步至<a href="/deployment/fandq">答疑</a></span></a></h4>',8),p={id:"想在linux命令行中拥有更好的体验-试试trss-liteyuki轻雪机器人管理脚本-该功能仅供参考-不是liteyukibot官方提供的功能",tabindex:"-1"},h={class:"header-anchor",href:"#想在linux命令行中拥有更好的体验-试试trss-liteyuki轻雪机器人管理脚本-该功能仅供参考-不是liteyukibot官方提供的功能"},m={href:"https://timerainstarsky.github.io/TRSS_Liteyuki/",target:"_blank",rel:"noopener noreferrer"};function u(y,v){const o=n("ExternalLinkIcon");return a(),c("div",null,[s,e("h4",p,[e("a",h,[e("span",null,[t("想在Linux命令行中拥有更好的体验试试"),e("a",m,[t("TRSS_Liteyuki轻雪机器人管理脚本"),l(o)]),t("该功能仅供参考不是LiteyukiBot官方提供的功能")])])])])}const g=i(r,[["render",u],["__file","install.html.vue"]]),B=JSON.parse('{"path":"/deployment/install.html","title":"安装","lang":"zh-CN","frontmatter":{"title":"安装","icon":"download","order":1,"category":"使用指南","tag":["安装"],"description":"设备要求 Windows系统版本最低Windows10+/Windows Server 2019+ Linux系统要支持Python3.10+推荐Ubuntu 20.04+() CPU: 至少1vCPU 内存: Bot无其他插件会占用200~300MB其他插件占用视具体插件而定建议1GB以上 硬盘: 至少1GB空间 开始安装 安装 Git 和 P...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/deployment/install.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"安装"}],["meta",{"property":"og:description","content":"设备要求 Windows系统版本最低Windows10+/Windows Server 2019+ Linux系统要支持Python3.10+推荐Ubuntu 20.04+() CPU: 至少1vCPU 内存: Bot无其他插件会占用200~300MB其他插件占用视具体插件而定建议1GB以上 硬盘: 至少1GB空间 开始安装 安装 Git 和 P..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-10T15:06:55.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:tag","content":"安装"}],["meta",{"property":"article:modified_time","content":"2024-04-10T15:06:55.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"安装\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-10T15:06:55.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[{"level":3,"title":"设备要求","slug":"设备要求","link":"#设备要求","children":[]},{"level":3,"title":"开始安装","slug":"开始安装","link":"#开始安装","children":[]}],"git":{"createdTime":1711589926000,"updatedTime":1712761615000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":6}]},"readingTime":{"minutes":1.05,"words":315},"filePathRelative":"deployment/install.md","localizedDate":"2024年3月28日","autoDesc":true,"excerpt":"<h3>设备要求</h3>\\n<ul>\\n<li>Windows系统版本最低<code>Windows10+</code>/<code>Windows Server 2019+</code></li>\\n<li>Linux系统要支持Python3.10+,推荐<code>Ubuntu 20.04+</code>(<s>别用你那b CentOS</s>)</li>\\n<li>CPU: 至少<code>1vCPU</code></li>\\n<li>内存: Bot无其他插件会占用<code>200~300MB</code>,其他插件占用视具体插件而定,建议<code>1GB</code>以上</li>\\n<li>硬盘: 至少<code>1GB</code>空间</li>\\n</ul>"}');export{g as comp,B as data};