This document describes the process for running this application on your local computer.
Crane has been developed on Windows and MacOS(M1). It supposed to support Linux too, but you may have to try yourself.
- Node JS >= 14
- Yarn
- cross-env
yarn install
yarn dev
When you run Crane in dev mode, there will be 2 windows popped up. One is the Crane main window, the other one is the background process window. You can launch the Chrome DevTools to debug Crane.
If you feel more comfortable using debugger inside editor like vscode, instead of using the Chrome DevTools on our background process window, you can disable the background process window feature in our development mode so your editor can attach the debugger to our background process.
-
Open the project with VSCode
-
Click
Run and Debug
tab -
Click
JavaScript Debug Terminal
- Exec the following commands in the JavaScript Debug Terminal
cross-env FORCE_BACKGROUND_PROCESS=1 yarn dev
Run yarn build
to build the executable file.