03 八月, 2023

thumbnail

海思NAS安装Docusaurus文档服务


安装nodejs环境

curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt-get install -y nodejs

创建文档程序

npx create-docusaurus@latest my-website classic
cd my-website
npm run serve -- --build --port 3000 --host 0.0.0.0

开启服务

npm run serve

访问

http://ip:3000

 

Subscribe by Email

Follow Updates Articles from This Blog via Email

No Comments

About

搜索此博客