Skip to content
This repository was archived by the owner on Sep 21, 2024. It is now read-only.

Quick start

Vitor Lopes edited this page Jun 17, 2018 · 29 revisions

Installation

1 - Install Pygi 3.20 or above from your Linux distro repository

Using Pip

sudo pip3 install jade-application-kit

Using Git

git clone https://github.com/codesardine/Jade-Application-Kit.git
cd ./Jade-Application-Kit

If working from the cloned directory type:

chmod +x ./bin/jak

and copy it to main folder ./Jade-Application-Kit.

or instead type:

python /path/to/Jade-Application-Kit/setup.py install

Usage

When pointing to a folder you will need index.html or app.js in your application root.

jak /path/to/application/directory
jak http://Address
debug mode --> jak -d  myAppRoot
  • By default, wihtout settings.json, JAK uses local cache.
  • When you specify a URL and your application is not in debug mode your URL will be forced to use SSL, this is used for production applications.

Application directory/folder, Structure

--- myAppRoot
 |--- index.html    note: when you point to a path it looks for this file.
 |--- window.css    note: your gtk window css goes here.
 |--- settings.json note: your app options go here.

window.css, used to style your application window --> How to ( Styling GTK windows with CSS )

Clone this wiki locally