turtl / desktop

Turtl's desktop app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Turtl desktop

Opening an issue? See the Turtl project tracker

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.

Setup

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
# make sure to follow the build instructions for turtl core: https://github.com/turtl/core-rs
git clone https://github.com/turtl/core-rs core
git clone https://github.com/turtl/desktop
cd js/
npm install
cp config/config.js.default config/config.js
cd ../desktop/
npm install
make electron-rebuild

NOTE (mostly to self): in windows, run electron-rebuild in cmd, not in msys2/cygwin. Something with paths, npm, etc etc etc. Who the hell knows.

Building

There are a few targets, but the most gratifying is

make run

Which runs the build and opens electron with Turtl loaded.

About

Turtl's desktop app

License:GNU General Public License v3.0


Languages

Language:JavaScript 92.0%Language:Shell 5.2%Language:Makefile 1.9%Language:CSS 0.6%Language:Smarty 0.3%Language:Batchfile 0.0%