This guide is to help setup a development environment for building apps based on the FrappeJS framework, in this case, Accounting.
Both FrappeJS and Accounting have their own individual git repositories, this is a parent repository set up to use Yarn Workspaces and Monorepo workflow which makes development a bit easier.
You are not required to use this setup, this is just a hassle-free way we found for development.
Install build essentials
Ubuntu
apt-get install build-essential python git
apt-get install libgconf-2-4
Install Node.js LTS (version 8.11.1)
Tip: The best way to install and manage Node is to install nvm
Install yarn
package manager.
npm install -g yarn
Clone this repo
git clone --recurse-submodules https://github.com/frappe/frappejs-accounting
Install dependencies and launch Accounting
cd frappejs-accounting
# Install dependencies
yarn
# Start frappejs server
yarn start
On running yarn start
, a Node server will start on http://localhost:8000, which will also handle bundling of assets using webpack middleware.
Frappe Technologies