This is the desktop app wrapper around the Turtl core. It provides a native experience for Windows, Linux, and OSx allowing local packaging of Turtl for desktop platforms.
Let's assume you have Node.js/NPM install already. Make sure you have NWJS
installed on your machine and in your PATH. Also the rsync
utility is used
throughout the Turtl build processes, so please make sure you have it installed.
mkdir turtl
cd turtl/
git clone https://github.com/turtl/js.git
git clone https://github.com/turtl/desktop.git
cd js/
npm install
cd ../desktop/
npm install
So we grab our Turtl js project's source and the mobile source as siblings (with
the name "js" preserved...renaming js
to something else will break the build).
There are a few targets, but the most interesting is
make run
Which runs the build and opens nwjs with Turtl loaded. Then there's
make package
Which creates a package.nw file containing the app, ready to be run by any NWJS installation.