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.list
sudo apt remove cmdtest
sudo apt update && sudo apt install yarn
yarn
This command will help you install all the dependences in package.json
yarn start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
yarn build
This 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-mermaid
yarn add remark-math@3 rehype-katex@4
curl -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.xml
yarn add @docusaurus/theme-search-algolia
yarn add remark-math@3 rehype-katex@5 hast-util-is-element@1.1.0
yarn add @docusaurus/plugin-content-docs
yarn add @docusaurus/plugin-debug
yarn add @docusaurus/plugin-pwa
git config --global http.postBuffer 524288000
git config --global http.lowSpeedLimit 0
git config --global http.lowSpeedTime 999999
git clone --depth=1 http://xxx.git
git fetch --unshallow
git rm -r --cached .
git add .
git commit -m 'update .gitignore'
Using SSH:
USE_SSH=true yarn deploy
Not using SSH:
GIT_USER=<Your GitHub username> yarn deploy
If 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