Files
devstar_introduction/docs/.vitepress/dist/assets/document_快速开始.md.sbeOmH7c.js
yinxue 6e6f51765c
Some checks failed
CI Pipeline / build (push) Failing after 1m9s
实现打包
2025-08-11 20:13:16 +08:00

19 lines
4.8 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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 a,c as i,o as t,ag as n}from"./chunks/framework.S-Qvb3wi.js";const c=JSON.parse('{"title":"快速开始","description":"","frontmatter":{"outline":"deep","weight":2},"headers":[],"relativePath":"document/快速开始.md","filePath":"document/快速开始.md"}'),e={name:"document/快速开始.md"};function l(p,s,h,d,o,r){return t(),i("div",null,s[0]||(s[0]=[n(`<h1 id="快速开始" tabindex="-1">快速开始 <a class="header-anchor" href="#快速开始" aria-label="Permalink to &quot;快速开始&quot;"></a></h1><p>如果您是在Windows环境下请在cmd命令行下先运行如下命令</p><div class="language-md vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">md</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">powershell wsl --install -d Ubuntu-20.04</span></span></code></pre></div><p>如果以上命令无法自动完成安装WSL可以手动执行如下消耗完成命令安装</p><div class="language-md vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">md</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">dism.exe /Online /Enable-Feature /FeatureName:Microsoft-Windows-Subsystem-Linux /All /LimitAccess /All</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">dism.exe /Online /Enable-Feature /FeatureName:VirtualMachinePlatform /All /LimitAccess</span></span></code></pre></div><p>在Ubuntu-20.04下完成安装:</p><div class="language-md vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">md</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">wget -c https://devstar.cn/assets/install.sh &amp;&amp; chmod +x install.sh &amp;&amp; sudo ./install.sh</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">devstar help</span></span>
<span class="line"><span style="--shiki-light:#005CC5;--shiki-light-font-weight:bold;--shiki-dark:#79B8FF;--shiki-dark-font-weight:bold;">------------------------------------------------------------------------</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">DevStar usage help:</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> help, -h, --help, Help information</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> start Start DevStar Studio</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> --port=&lt;arg&gt; Specify the port number (default port is 8080)</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> --version=&lt;arg&gt; Specify the DevStar Studio Image Version (default verson is latest)</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> stop Stop the running DevStar Studio</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> logs View the logs of the devstar-studio container</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> clean Clean up the running DevStar Studio, including deleting user data. Please use with caution.</span></span>
<span class="line"><span style="--shiki-light:#005CC5;--shiki-light-font-weight:bold;--shiki-dark:#79B8FF;--shiki-dark-font-weight:bold;">------------------------------------------------------------------------</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">sudo devstar start</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">...</span></span>
<span class="line"><span style="--shiki-light:#005CC5;--shiki-light-font-weight:bold;--shiki-dark:#79B8FF;--shiki-dark-font-weight:bold;">-------------------------------------------------------</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">DevStar started in http://localhost:8080 successfully!</span></span>
<span class="line"><span style="--shiki-light:#005CC5;--shiki-light-font-weight:bold;--shiki-dark:#79B8FF;--shiki-dark-font-weight:bold;">-------------------------------------------------------</span></span></code></pre></div><p>然后通过浏览器打开http://localhost:8080完成后配置安装默认第一个注册用户为管理员账户。</p>`,8)]))}const E=a(e,[["render",l]]);export{c as __pageData,E as default};