You can check these steps to set up your own files management platform:
- Fork this repository into your GitHub.
- Clone the repository you forked to your coding device.
- Make your modifications, changing existed files or add new files. ---- for detailed local deployment / installation please check below instruction.
- Commit your modifications and push to your Github repository.
- Create a PR from the branch in your forked to seeed-studio's wiki-documents main branch.
export PATH=$PATH:/home/w0x7ce/Desktop/node-v18.12.1-linux-x64/bin
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.listsudo apt remove cmdtest
sudo apt update && sudo apt install yarnyarnThis command will help you install all the dependences in package.json
yarn startThis command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
yarn buildThis command generates static content into the build directory and can be served using any static contents hosting service.
Signed-off-by: tianrking <tian.r.king@gmail.com>yarn add @docusaurus/theme-mermaidyarn add remark-math@3 rehype-katex@4curl -O https://get.0install.net/0install.sh && chmod +x 0install.sh
sudo ./0install.sh install local
0install add jq https://apps.0install.net/utils/jq.xmlyarn add @docusaurus/theme-search-algoliayarn add remark-math@3 rehype-katex@5 hast-util-is-element@1.1.0yarn add @docusaurus/plugin-content-docsyarn add @docusaurus/plugin-debug
yarn add @docusaurus/plugin-pwagit config --global http.postBuffer 524288000git config --global http.lowSpeedLimit 0
git config --global http.lowSpeedTime 999999git clone --depth=1 http://xxx.git
git fetch --unshallowgit rm -r --cached .
git add .
git commit -m 'update .gitignore'Using SSH:
USE_SSH=true yarn deployNot using SSH:
GIT_USER=<Your GitHub username> yarn deployIf you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.
- [ERROR] Error: ENOSPC: System limit for number of file watchers reached
-
insert the new value into the system config
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
-
check that the new value was applied
cat /proc/sys/fs/inotify/max_user_watches
-
config variable name (not runnable)
fs.inotify.max_user_watches=524288