Skip to content

How to run Koala source code

WinonaeSolutions edited this page Jun 24, 2015 · 3 revisions

How to run Koala source code?

  1. Clone Koala to the local;
  2. Download node-webkit(0.8.6 version) prebuilt binaries for your system environment.
  3. For windows, copy nw.exe, nw.pak, icudt.dll to koala/src directory, and install Ruby to koala/src/ruby;
    For Linux, copy nw, nw.pak, install Ruby: sudo apt-get install ruby;
    For Mac OS X, copy node-webkit.app, OS X already have Ruby installed.
  4. Run the nw executable file.

Show the developer tools window

Open src/package.json, set window.toolbar to true, then re-run the nw executable file. You will see the Chromium browser window toolbar, click the settings button to open the developer tools.

img

Live debug

When you modify a file, just click the toolbar refresh button, then the app will reload the new code.