-
Notifications
You must be signed in to change notification settings - Fork 82
Setting up the development environment
-
Install IntelliJ IDEA
-
Install SBT
-
Install JDK 8. If you do not have it, add the address of SDK bin to IntelliJ. File -> Project Structure -> Project Settings -> Project -> Project SDK. You could refer to official guideline for more details.
-
Fork the repository to your own namespace repository.
-
Import the project from GitHub using your branch url.
-
Install Scala plugin on IntelliJ. Preference -> Plugins -> Install JetBrain Plugins -> Install -> Restart IntelliJ
-
If you do not have SBT toolwindow, click on build.sbt file. If SBT tool window does not appear automatically, check View -> Tool Windows -> SBT.
-
Open SBT toolwindow (on the right side of IDE) and press refresh button (left-up corner) to force reload sbt.
-
Run the project from command line by using
sbt "project neo" "run"
.
-
Use the following lines to add remote repository:
-
git remote add name_of_your_remote_rep https://github.com/ISG-ICS/cloudberry.git
-
git fetch name_of_your_remote_rep
-
git remote -v
-
-
If your remote rep and the origin rep are the same, use git remote set-url origin your_SSH
-
Update you local with ISG master branch or get changes from ISG master branch: git pull name_of_your_remote_rep master
-
More information is available Here
-
Go to git command line
-
Check modified files: git status. Green files are ready to be committed.
-
Commit added files: git commit -m "your commit message".
-
Pull from ISG master to update your branch: git pull name_of_ISG_repo (step 2) master.
-
Push commit to your branch: git push origin branch_name.
-
Go to your repository and click on "New Pull Request" to ISG repository.