Difference between revisions of "Install App Builder on Mac"
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) (→Optional Requirements) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 49: | Line 49: | ||
* Install the ODBC manager (see [[#Homebrew|below]] if you do not have Homebrew installed: | * Install the ODBC manager (see [[#Homebrew|below]] if you do not have Homebrew installed: | ||
<pre>$ brew install unixodbc</pre> | <pre>$ brew install unixodbc</pre> | ||
− | * Now init the ODBC definitions for Lianja. This will define the Lianja ODBC driver in /etc/odbcinst.ini and the lianja_southwind DSN in /etc/odbc.ini. | + | * 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. |
− | <pre>$ sudo /usr/local/lianja/server/dist/postinstall.sh / | + | <pre>$ sudo /usr/local/lianja/server/dist/postinstall.sh /usr/local/lianja/server odbc</pre> |
* For non-GUI set up of ODBC data sources, see [http://www.unixodbc.org/odbcinst.html here]. | * For non-GUI set up of ODBC data sources, see [http://www.unixodbc.org/odbcinst.html here]. | ||
==Optional Requirements== | ==Optional Requirements== | ||
− | These are optional requirements if you want to build | + | 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). | Open up a Terminal window (/Applications/Utilities/Terminal). | ||
Line 69: | Line 69: | ||
<pre>$ brew install npm</pre> | <pre>$ brew install npm</pre> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===TypeScript=== | ===TypeScript=== |
Latest revision as of 10:53, 3 February 2021
Contents
See Also
Installation
- Double-click the downloaded package (pkg)
- Click Continue
- Optionally Print... or Save... the License Agreement, then click Continue.
- 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.
- The Lianja App Builder will be installed for all users. Click Continue.
- Click Install
- The Lianja App Builder will now be installed.
- When the installer has completed, click Close.
- After the installer has completed, optionally move it to the Trash.
Running Lianja App Builder
- To run the Lianja App Builder, double-click its shortcut in Applications.
- 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.
- The Lianja App Builder will start in the Home workspace.
- 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