JRebel can realize the hot deployment of projects in idea, and there is no need to restart the project after modification, making the development smoother.
JRebel needs to be activated before it can be used normally.
The blogger is looking for a job recently, a Java front-end and back-end full-site engineer, please recommend the blogger if you have a suitable project, and you can also contact me, thank you for the blogger in Beijing 2023-07-04 Post V: y393016244 |
---|
1. Quick use
1. Idea installs the JRebel plug-in.
File>Settings>Plugins Search JRebel
2. Activate
1) Fill in the activation information
The registration server deployed by individuals is not guaranteed to be stable. If you have any questions, you can leave a message.
The address is: http://server IP address: 8080/uuid
URL: http://121.5.183.246:8888/7d54ed75-bbc8-4999-afae-aa296012b51f
E-mail: write whatever you want, the format is correct.
Generate UUID online: https://qiankunniao.com/h/generateUuid
2) Set up the project for automatic deployment
On the JRebel label in the lower left corner, check the items to be automatically deployed
3) Run the project
Start with JRebel at startup, so that hot deployment can be achieved
4) Compile the project
JRebel compiles every two or three minutes by default. If you can’t wait, you can compile it manually
. I set the shortcut key for compilation. After modification, press the shortcut key to compile directly. There are
2. Advanced configuration
1. Install the registration server yourself.
Download address: https://github.com/ilanyu/ReverseProxy/releases/tag/v1.4
Windows system:
Just run it after downloading
Linux system:
Put the downloaded file on the Linux server and execute the following command in the file directory
chmod 777 ReverseProxy_linux_amd64
nohup ./ReverseProxy_linux_amd64 &
3. Activate JRebel
The activation is the same as above.
The address is: http://server IP address: 8080/uuid
E-mail: write whatever you want, and the format is correct.
Generate UUID online: https://qiankunniao.com/h/generateUuid
4. Set compilation shortcut keys
Add compilation shortcut key