Since 4D v19, you can start the compilation of a project with a simple command. This tool allows you to launch a compilation by command line since 4D v19.
Find more information on the blog post.
This project need to launch by command line with the following parameters:
Options | Description |
---|---|
4D | path of the 4D application (mandatory attribut) |
--structure | path of this project file (mandatory attribut) |
--user-param | stringily object that contains: |
* path: path of the project to compile (mandatory attribut) | |
* options: Option passed to Compile Project command (optional attribut) | |
* quit : pass false to not close 4D after compilation, useful for tests, by default 4D closes after execution (optional attribut) | |
--headless | To launch 4D without interface (optional parameter) |
--dataless | To launch 4D without data (mandatory attribut) |
For more detail, read the documentation of “On Startup” database method.
- Download the latest Release version of 4D from: https://us.4d.com/product-download or the latest Beta version from: https://discuss.4d.com
- Follow the activation steps for 4D from: https://developer.4d.com/docs/GettingStarted/installation
- Clone or download the GitHub repository containing the 4D project to your local machine. Need help, check out this blog.
- Open the 4D project in your 4D software by navigating to "File > Open Project". You can find more details here.
- Play with this HDI.
- Navigate to the "Mode/Return to design mode" menu to view the code.
By following these steps, you will be able to successfully install and run a 4D project.