Fabric is an SDK built on Alan to effortlessly create enterprise level desktop and web applications. Robust interfaces and database connections create rock solid third party integration, while a sophisticated web client automatically generates a user interface based on your datamodel.
All the latest components and system-types:
get your versions.json here
Command Line Utility
fabric command line utility has everything you need to validate, compile and run your project. Download and extract the Fabric SDK package to somewhere on your computer.
The utilities require a unix-like environment with bash. For Windows you need either Git For Windows, which comes with a bash shell, or the Linux Subsystem.
Now add the new utils directory to your
$PATH like so:
macOS, Linux or Linux Subsystem (bash):
- Copy the full path of the new utils directory (e.g.
- Open your
~/.bash_profilefile, or create ~/.profile if neither already exists.
- If you already have customized your
$PATH, append the utils directory path to it.
- Otherwise create a new line with
PATH=$PATH:and append the path to that.
Your $PATH should like something this:
PATH=$PATH:/usr/local/fabric, note the
: to separate each path.
Windows Command Prompt:
- Copy the full path to the new utils directory.
- Open cmd.exe
- Run the following command, replacing C:\Users\Joe\fabric with the path to your new utils directory:
setx PATH "%PATH%;C:\Users\Joe\fabric"
To verify that everything works type
fabric in bash. It should give you a list of commands it will recognize.
Sublime Text 3 Plugin
Syntax highlighting and build systems to validate your .alan files
- Make sure Package Control has been installed. Use Tools > Install Package Control if you haven't already.
- Open command palette (ctrl-shift-p) (command-shift-p).
- Choose "Add Repository".
- You can now open the command palette and run "Install Package" and select "Fabric Sublime Syntax".
- Copy the full path to directory with bash.exe, which is probably
- Open cmd.exe
- Run this command, with the bash directory:
setx PATH "%PATH%;C:\Program Files\Git\bin"
Package Control will automatically install updates.
Additional steps for Windows
For the build system to work, unless you're using the Linux Subsystem you also need to add bash to your path.