yiseungmi87 commented on code in PR #2388: URL: https://github.com/apache/systemds/pull/2388#discussion_r2704076109
########## docs/site/source_install.md: ########## @@ -0,0 +1,172 @@ +# Install SystemDS from Source + +This guide helps in the install and setup of SystemDS from source code. + +--- + +- [1. Install on Windows](#1-install-on-windows) +- [2. Install on Ubuntu 22.04](#2-install-on-ubuntu-2204) +- [3. Install on macOS](#3-install-on-macos) +- [4. Build the Project](#4-build-the-project) +- [5. Run a Component Test](#5-run-a-component-test) +- [6. Next Steps](#6-next-steps) + +Once the individual versions is set up skip to the common part of building the system. + +--- + +# 1. Install on Windows + +First setup java and maven to compile the system note the java version is 17, we suggest using Java OpenJDK 17. + +- <https://openjdk.org/> +- <https://maven.apache.org/download.cgi?.> + +Setup your environment variables with JAVA_HOME and MAVEN_HOME. Using these variables add the JAVA_HOME/bin and MAVEN_HOME/bin to the path environment variable. An example of setting it for java can be found here: <https://www.thewindowsclub.com/set-java_home-in-windows-10> + +To run the system we also have to setup some Hadoop and spark specific libraries. These can be found in the SystemDS repository. To add this, simply take out the files, or add 'src/test/config/hadoop_bin_windows/bin' to PATH. Just like for JAVA_HOME set a HADOOP_HOME to the environment variable without the bin part, and add the `%HADOOP_HOME%\bin` to path. + +On windows, cloning large repositories via GitHub Desktop may stall in some environments. If this happens, cloning via the Git command line is a reliable alternative. +Example: +```bash +git clone https://github.com/apache/systemds.git +cd systemds +``` + +Finally if you want to run systemds from command line, add a SYSTEMDS_ROOT that points to the repository root, and add the bin folder to the path. Review Comment: Updated ########## docs/site/source_install.md: ########## @@ -0,0 +1,172 @@ +# Install SystemDS from Source + +This guide helps in the install and setup of SystemDS from source code. + +--- + +- [1. Install on Windows](#1-install-on-windows) +- [2. Install on Ubuntu 22.04](#2-install-on-ubuntu-2204) +- [3. Install on macOS](#3-install-on-macos) +- [4. Build the Project](#4-build-the-project) +- [5. Run a Component Test](#5-run-a-component-test) +- [6. Next Steps](#6-next-steps) + +Once the individual versions is set up skip to the common part of building the system. + +--- + +# 1. Install on Windows + +First setup java and maven to compile the system note the java version is 17, we suggest using Java OpenJDK 17. Review Comment: Updated -- 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]
