Introduction to the development environment of bboss platform

For the introduction of bboss platform development environment and the use of code generation tools, you can refer to the video tutorial of the new version of the platform:

Video download address: Download
or get it from the bboss development group file sharing, join the exchange group: 21220580
Add group prompts and questions Answers: gradle

Below is the video The content of the video is introduced as a reference for the video.
1. Preparations
Install the development environment
jdk, idea
git and gradle and configure the relevant environment variables, refer to the document: http://yin-bp.iteye.com/blog/2313145
Create a new working directory d:/workdir
cd d:/workdir
2 .Get the bboss platform source code
cd d:/workdir
git clone -b master --depth 1 https://github.com/bbossgroups/bboss-cms.git
or (oschina fast)
git clone -b master --depth 1 https://git.oschina.net/bboss/bboss-cms.git
3. Build platform
cd bboss-cms
gradle install
gradle :pdp:releaseArchives
After the build is completed, two release packages
dbinit-system-5.0.3.6.zip will be obtained initialization tool
pdp-5.0.3.6.war platform release package
4. Build a platform development project
4.1 Create a mysql database-mybboss
4.2 Download the project generation tool
cd d:/workdir
git clone -b master --depth 1 https://github.com/ bbossgroups/genproject.git
or (oschina is fast)
git clone -b master --depth 1 https://git.oschina.net/bboss/genproject.git

4.3 build genproject
cd genproject
gradle tasks --all
gradle
releaseRuntimeZip The two packages generated in the third step are tools for generating the development environment:
genproject-4.10.9.zip
, please refer to the video to build the environment, modify the configuration file, configure the database, project name and storage directory:
After config-gradle.properties

is configured, execute the command Generate a platform development project:
setup-gradle.bat

5. Run the development project
This video uses the idea development tool. For the usage and video of eclipse, please visit:

http://yin-bp.iteye.com/blog/2313145

5.1 Import idea
5.2 Run the pdp sub-project
Account : admin Password: 123456
5.3
Watch the video for the debug project. At

this point , our development project based on the bboss platform has been built. Next, let's make a template and use the code generation tool to automatically generate code

6. Use The code generation tool generates a simple module
6.1 Download the code generation tool
cd d:/workdir
git clone -b master --depth 1 https://github.com/bbossgroups/bboss-gencode.git
or (oschina fast)
git clone -b master --depth 1 https://git.oschina.net/bboss/bboss-gencode.git
6.2 Build the code generation tool
cd bboss-gencode
gradle :gencode-web-app:releaseRuntimeZip

6.3 Generate the module code and integrate the code Go to the development project to
start the code generation tool,
configure the data source,
prepare a table,
form configuration,
code integration, and select default
interface style.
6.4 Check the running effect

. Watch the video for details.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326347881&siteId=291194637