[show/hide]
brew install --cask frappe-books
Download and install the latest release for your platform from the releases page .
Frappe Books is built on Vue.js and Electron. It is offline by default and uses a local SQLite file as the database.
To get the dev environment up and running you need to first set up Node.js version 16.14.0 and npm. For this, we suggest using nvm.
Next, you will need to install yarn.
Once you are through the Pre-requisites, you can run the following commands to setup Frappe Books for development and building:
# clone the repository
git clone https://github.com/frappe/books.git
# change directory
cd books
# install dependencies
yarn
To run Frappe Books in development mode (with hot reload, etc):
# start the electron app
yarn dev
Note: First Boot
When you run yarn dev
electron will run immediately but the UI will take a
couple of seconds to render this because of how dev mode works. Each file is
individually served by the dev server. And there are many files that have to be
sent.
Note: Debug Electron Main Process
When in dev mode electron runs with the --inspect
flag which allows an
external debugger to connect to port 5858. You can use chrome for this by
visiting chrome://inspect
while Frappe Books is running in dev mode.
See more here.
To build Frappe Books and create an installer:
# start the electron app
yarn build
Note: Build Target By default the above command will build for your computer's operating system and architecture. To build for other environments (example: for linux from a windows computer) check the Building section at electron.build/cli.
So to build for linux you could use the --linux
flag like so: yarn build --linux
.
If you want to contribute to Frappe Books, please check our Contribution Guidelines. There are many ways you can contribute even if you don't code:
If you want to contribute code then you can fork this repo, make changes and raise a PR. (see how to)
Language | Contributors |
---|---|
French | DeepL, mael-chouteau, joandreux |
German | DeepL, barredterra, promexio, C2H6-383, 0xflotus |
Portuguese | DeepL, Valdir Amaral |
Arabic | taha2002, Faridget |
Catalan | Dídac E. Jiménez |
Dutch | RijckAlex |
Spanish | talmax1124, delbertf |
Gujarati | dhruvilxcode, 4silvertooth |
Hindi | bnsinghgit |
Korean | Isaac-Kwon |
Simplified Chinese | wcxu21, wolone, Ji Qu |
Swedish | papplo, Crims-on |
Turkish | Eyuq, XTechnology-TR |
Danish | Tummas Joensen |