Getting started
此内容尚不支持你的语言。
You need Git, GitHub access, Node.js, and npm.
Run the app
Section titled “Run the app”Fork the Monfil repository, clone your fork, and make a branch. Replace YOUR_ACCOUNT with your GitHub name:
git clone https://github.com/YOUR_ACCOUNT/monfil.gitcd monfilgit switch -c my-first-changenpm installnpm startElectron Forge starts the main process and renderer development server. Development uses a separate data directory, so your installed app’s database stays untouched.
Send a small change
Section titled “Send a small change”For a first pull request, choose an issue or a documentation error that you can check against the code. Discuss larger changes in a GitHub issue before you start.
- Make the change. Run the checks that apply to it.
- Commit and push your branch. Write the commit messages as the release procedure describes.
- Open a pull request against the official repository. Describe the behavior, your change, and the checks you ran. Link an issue when there is one.
- Sign the Contributor License Agreement through the link from CLA Assistant.
For a code change, run npm run lint and the affected tests. Lint also enforces the complexity limits. npm test runs all suites. For a documentation change, run npm run lint:docs and npm --prefix doc run build.
Recommended setup
Section titled “Recommended setup”- Install Husky to get the Git hooks: the pre-commit hook runs lint, and the commit-msg hook checks the message with commitlint.