Giter Club home page Giter Club logo

desktop's Introduction

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 you set up core-rs based on its own setup: https://github.com/turtl/core-rs
git clone https://github.com/turtl/core-rs
git clone https://github.com/turtl/desktop
cd js/
npm install
cd ../desktop/
npm install
npm install -g electron-rebuild
electron-rebuild -e node_modules/electron

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.

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).

Building

There are a few targets, but the most interesting is

make run

Which runs the build and opens nwjs with Turtl loaded.

desktop's People

Contributors

flacroix897 avatar ironlenny avatar karlkec avatar ldidry avatar leogtzr avatar orthecreedence avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.