mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-18 18:04:17 +00:00
When the binary lived in a root-owned directory, upgrade re-ran the whole command under sudo. The built-in skill download, UI asset cache, and oplog then landed in the user's home as root-owned files, and a later git pull of the skills source failed with "unable to unlink old 'skillshare/SKILL.md': Permission denied". The sudo child now only receives an internal --replace-binary=<version> flag that downloads and swaps the binary. The parent waits for it and does everything else as the invoking user. The needs-password hint shown by the CLI and dashboard drops its sudo prefix, since a fully root upgrade reproduces the same breakage.
Website
Documentation site for skillshare, built with Docusaurus.
Install
npm install
Local Development
npm start
Quality Checks
npm run typecheck
npm run clear
Build and Preview
npm run build
npm run serve
Deployment
npm run 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.