【Return to Z Platform-Help Document-Homepage】
This chapter explains the process of building the Z platform development environment. Some custom functions of the Z platform need to be completed by JAVA coding.
table of Contents
Development environment preparation
Modify key configuration files
First, modify the database connection
Development environment preparation
This environment is configured as the original development environment of the Z platform, capable students can change to other basic environments
operating system windows 64-bit operating system JDK JDK8 64-bit version database MySQL 8.0 Tomcat Tomcat9 64-bit version Eclipse Eclipse 64 bit (2018-12 version)
Download source code
First, open the source code repository https://gitee.com/zj1983/zz and download the source code package. Or go directly to the download center to download the source package
Second, unzip the source code package.
Initialize the database
If you can’t perform the initialization of the MySQL database, please check the relevant documentation.
Initialization script: zz\src\main\resources\z.sql
Import source code to Eclipse
Students who do not understand the Eclipse installation process, please search for relevant tutorials by yourself. The installation process is relatively simple and will not be explained here.
Modify key configuration files
Configuration file: z/src/main/resources/z.properties
First, modify the database connection
Second, modify the Z platform source code workspace path
Start the test
First, add the project to the Tomcat startup environment [ Configure the tomcat9 environment in eclipse, please complete the configuration yourself, there are many online tutorials. 】
Second, start tomcat. And run it in the browser [ http://127.0.0.1/z account: sa password: 123456]
The above page can be displayed, congratulations, the installation is successful! ! !