# Cài đặt IntelliJ IDEA Ultimate + cấu hình LiveReload local ## I. Cài đặt IntelliJ IDEA **Nguồn : https://zhile.io/2020/11/18/jetbrains-eval-reset.html** ![](https://i.imgur.com/dDPouIb.png) **Tải phiên bản mới nhất của IntelliJ IDEA trên trang chủ:** https://www.jetbrains.com/idea/download/#section=windows ![](https://i.imgur.com/TQGunaI.png) ``` Chọn bản Ultimate để sử dụng được Spring Boot Mở phần mềm lên và chọn trial 30 ngày để dùng thử 30 ngày miễn phí ``` ## RESET TRIAL ##### Bước 1: Download plugin ``` \\10.30.174.220\data chung\USERS\bangvc3\SOFT\ide-eval-resetter-2.1.10.zip ``` ##### Bước 2: Mở Settings/Preferences… -> Plugins ##### Bước 3: Chọn “Install Plugin From Disk…” và chọn file JAR vừa giải nén và khởi động lại IDE ![](https://i.imgur.com/VVd6REk.png) ##### Bước 4: Sử dụng, chọn Help -> Eval Reset ![](https://i.imgur.com/1sZJiGY.png) ![](https://i.imgur.com/Iott6DF.png) Tick chọn: **Auto reset before per restart** Thành quả: Trước khi reset: ![](https://i.imgur.com/F2ZHSj4.png) Sau khi reset: ![](https://i.imgur.com/T1QaZyy.png) ## II.Cấu hình LiveReload https://www.codejava.net/frameworks/spring-boot/spring-boot-auto-restart-and-live-reload-in-intellij-idea ##### Step 1: add the following dependency to your project’s Maven build file: ```== <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <scope>runtime</scope> <optional>true</optional> </dependency> ``` ##### Step 2: enable Build project automatically ![](https://i.imgur.com/Y6HfxRx.png) ##### Step 3: Turn on compiler.automake.allow.when.app.running ![](https://i.imgur.com/2KdSW2L.png) ##### Result: SpringBoot auto build & restart whenever detected changes in sourcecode. ![](https://i.imgur.com/2jiiscT.png)