Install App Builder on Mac

From Lianjapedia
Jump to: navigation, search

See Also

Installation

  • Double-click the downloaded package (pkg)
  • Click Continue

Lianja App Builder Installation

  • Optionally Print... or Save... the License Agreement, then click Continue.

Lianja App Builder Installation

  • Click Read License to read the full license. If you agree to the license, click Agree. If you do not agree to the license, click Disagree and the installation will terminate.

Lianja App Builder Installation

  • The Lianja App Builder will be installed for all users. Click Continue.

Lianja App Builder Installation

  • Click Install

Lianja App Builder Installation

  • The Lianja App Builder will now be installed.

Lianja App Builder Installation

  • When the installer has completed, click Close.

Lianja App Builder Installation

  • After the installer has completed, optionally move it to the Trash.

Lianja App Builder Installation

Running Lianja App Builder

  • To run the Lianja App Builder, double-click its shortcut in Applications.

Lianja App Builder Installation

  • If this is the first time you have installed Lianja App Builder, it will run with a 30 day trial license. To enter your license key, click Activate.

Lianja App Builder Installation

  • The Lianja App Builder will start in the Home workspace.

Lianja App Builder Installation

  • See Getting Started for an introduction to creating Apps in Lianja App Builder.

Lianja ODBC Driver

The Lianja App Builder installer includes the Lianja ODBC Driver. This requires the unixODBC ODBC manager.

  • Install the ODBC manager (see below if you do not have Homebrew installed:
$ brew install unixodbc
  • Now init the ODBC definitions for Lianja. This will define the Lianja ODBC driver in /usr/local/etc/odbcinst.ini and the lianja_southwind DSN in /usr/local/etc/odbc.ini.
$ sudo /usr/local/lianja/server/dist/postinstall.sh /usr/local/lianja/server odbc
  • For non-GUI set up of ODBC data sources, see here.

Optional Requirements

These are optional requirements if you want to build Electron apps or want to use TypeScript as a scripting language.

Open up a Terminal window (/Applications/Utilities/Terminal).

Homebrew

Install Homebrew if you don't already have it installed.

Homebrew is a free and open-source software package management system that simplifies the installation of software on Apple's macOS operating system.

$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

npm

Install node.js and npm if you have not already done so.

$ brew install npm

TypeScript

To use TypeScript scripting, install TypeScript.

$ npm install typescript -g

Babel

Optionally install Babel. Babel has support for the latest version of JavaScript (ES2015) through syntax transformation. Lianja will soon handle dynamic transpiling of JavaScript ES6 (.es6/.jsx files) to JavaScript ES5 (.js files) for you.

$ npm install babel-cli babel-preset-env -g

Electron

To build Lianja Electron Apps, install Electron.

npm install electron -g
npm install electron-packager -g

iOS Simulator

Optionally install the Command-line application launcher for the iOS Simulator. Be aware, this requires XCode to be installed which takes a while. You will need this if you intend to build React-native Apps in Lianja.

$ npm install ios-sim -g

Recommended Download

Whenever you need to create an installation package or distribution for Mac OS X 10.5 or later, "Packages" is the powerful and flexible solution you're looking for — and it is free. This is optional as Lianja App Builder for macOS provides packaging tools in the 'Deploy' workspace.

Download from here