zhoujinsong commented on code in PR #3615: URL: https://github.com/apache/amoro/pull/3615#discussion_r2149200175
########## docs/admin-guides/deployment-on-IDE.md: ########## @@ -0,0 +1,147 @@ +# Deploying Amoro in IntelliJ IDEA + +This guide describes how to import the Amoro project into IntelliJ IDEA and deploy it. + +## Requirements ++ Java Version: Java 8 or Java 11 is required. + +### Required Plugins +1. Go to `Settings` → `Plugins` in IntelliJ IDEA. +2. Select the “Marketplace” tab. +3. Search for and install the following plugins: + - Scala +4. Restart IntelliJ IDEA if prompted. + +## Building Amoro in IntelliJ IDEA +This guide is based on IntelliJ IDEA 2024. Some details might differ in other versions. + +1. Clone the Repository and Create the Configuration File: + +```shell +git clone https://github.com/apache/amoro.git +cd amoro +# base_dir=$(pwd) +mkdir -p conf +cp dist/src/main/amoro-bin/conf/config.yaml conf/config.yaml +``` + +2. Import the Project: + 1. Open IntelliJ IDEA and select `File`->`Open`. + 2. Choose the root folder of the cloned Amoro repository. +3. Configure Java Version: + 1. Open the `Maven` tab on the right side of the IDE. + 2. Expand `Profiles` and ensure the selected Java version matches your IDE's Java version. + 3. To check or change the project SDK, go to `File`->`Project Structure...`->`Project`->`SDK`. +4. Modify the Configuration File: Review Comment: You can replace the URL with the command: `sed -i '' 's|/tmp/conf/derby|{base_dir}/conf/derby|g' conf/config.yaml` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
