Deploy tool usage
Factor handbook » Developer tools » Application deployment

Prev:Preparing to deploy an application
Next:Deploy tool implementation


Once the necessary deployment flags have been set, the application can be deployed:
deploy ( vocab -- )

deploy-image-only ( vocab image -- )


For example, you can deploy the hello-ui demo which comes with Factor. Note that this demo already has a deployment configuration, so nothing needs to be configured:
"hello-ui" deploy

On macOS, this yields a program named Hello world.app.
On Windows, it yields a directory named Hello world containing a program named hello-ui.exe.
On Unix-like systems (Linux, BSD, Solaris, etc), it yields a directory named Hello world containing a program named hello-ui.

On all platforms, running the program will display a window with a message.