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 Oct 15, 2016 · 29 revisions

Instalation

1 - Install Pygi 3.20 min, from your Linux distro repository, software center.

easy way, using pip

sudo pip 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 do,

chmod +x ./bin/jak

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

or instead do,

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

to install in your system.

Usage

Wen pointing to a folder JAK will look for index.html in your application root.

jak /path/to/application/directory
jak http://Address
debug mode --> jak -d  myAppRoot
help       --> jak -h
  • By default JAK will cache your application, unless you run it in debug mode.
  • Wen you specify a URL and your app 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: wen you point to a path without a server it looks for this file)
 |--- app.json
 |--- window.css (note: this file is only needed if you wish to style the window)
 |--- app.js     (your javascript goes here)

note: If you are using a server your server will define witch file is the index file ex: index.php

window.css --> How to ( Styling GTK windows with CSS )

Clone this wiki locally