Quick start for devs
Start in in 3 steps:
- Clone the repository
git clone git@github.com:silaorg/sila.git - Run in your terminal at the root of the repository -
cd sila && npm install && npm run devto install all the necessary npm packages and launch a desktop build. - To build for production -
npm run build
Linux: Electron sandbox fix
If the desktop dev build fails with a chrome-sandbox SUID error, run:
bash
sudo chown root node_modules/electron/dist/chrome-sandbox
sudo chmod 4755 node_modules/electron/dist/chrome-sandbox
Then rerun npm run dev.
Debug with breakpoints
If you want to debug with breakpoints in a VSCode-based editor (e.g Cursor), go to "Start Debugging F5" and start "👉 Debug Electron All".