第4章 Business application execution
By default, business applications contain a single executable project, the service project. You can execute the service project on Windows or Linux, in standalone (unmanaged) or development (managed) mode. Standalone mode enables you to start your application without additional requirements. Applications started in development mode require Business Central to be available as the Decision Manager controller.
4.1. Running business applications in standalone mode リンクのコピーリンクがクリップボードにコピーされました!
Standalone (unmanaged) mode enables you to start your business application without additional requirements.
Prerequisites
-
You have a
<business-application>.zipfile that you created using the business applications website. - The business application is configured.
Procedure
-
Navigate to the
<business-application>/<business-application>-servicefolder. Enter one of the following commands:
Expand 表4.1 Standalone launch options Command
Description
./launch.sh clean installLaunches in standalone mode on Linux or UNIX.
./launch.bat clean installLaunches in standalone mode on Windows.
./launch.sh clean install -PmysqlLaunches in standalone mode on Linux or UNIX if you have configured the application with a MySQL database.
./launch.bat clean install -PmysqlLaunches in standalone mode on Windows if you have configured the application with a MySQL database.
./launch.sh clean install -PpostgresLaunches in standalone mode on Linux or UNIX if you have configured the application with a postgreSQL database.
./launch.bat clean install -PpostgresLaunches in standalone mode on Windows if you have configured the application with a PostgreSQL database.
The
clean installargument directs Maven to build a fresh installation. The projects are then built in the following order:- Data model
- Business assets
Service
The first time that you run the script, it might take a while to build the project because all dependencies of the project are downloaded. At the end of the build, the application starts.
Enter the following command to access your business application:
http://localhost:8090/-
Enter the credentials
user/userorkieserver/kieserver1!.