MainDocsApps |
System Requirements (for Linux)
Apache server configurationFor convenience, you can configure your local Apache server so that, when requesting
at your browser, it will directly serve the main page of the generated SmartGUI application. In order to do this, edit the Apache configuration file
as follows:
where PATH is the absolute path to the directory
Do not forget to restart your local Apache server to apply the new configuration.
Application requirementsThe SmartGUI code generator assumes that your local MySQL server includes a usersmartgui, with password imdea,
and with (unrestricted) create, delete, update, and
select privileges.
The following statement, for example, create this user:
The SmartGUI's code generator also assumes that your application's data is stored in a database that has been created using the SmartGUI's database plugin, as well as your application's users' names, logins, roles, and passwords. The SmartGUI's database pluginSuppose that NAME_COMPONENTUML_MODEL is the name of the ComponentUML model that models your application's database. The SmartGUI's database plugin automatically creates
ExampleSuppose that the application's data is modeled by the following ComponentUML model:
DB.sql,
within the directory imdea.smartgui.project/src/database/,
which contains the following SQL script:
CREATE database IF NOT EXISTS Employee;
To execute this script you can use the following command:
mysql> source DB.sql;
|