Skip to content

Latest commit

 

History

History
31 lines (29 loc) · 1.57 KB

CONTRIBUTING.md

File metadata and controls

31 lines (29 loc) · 1.57 KB

Development Workspace Setup

Setup is a little bit more involved than just a normal Forge dev workspace setup but isn't too hard. Follow these steps and you should be ready to submit pull requests.

0. Set up JDK 8 and set your JAVA_HOME path variable (use google)

1. Clone the repository to your computer

clone repo

2. Open PowerShell/command prompt

  • shift + right click > open PowerShell

3. Run gradle setup commands

  • cmd gradlew setupDecompWorkspace
  • PowerShell ./gradlew setupDecompWorkspace
  • cmd gradlew idea
  • PowerShell ./gradlew idea

4. Set up intellij idea

  • right click project > open module settings
    open module settings
  • project > project language level > SDK default (8)
    set language level
  • file > settings
    open idea settings
  • plugins > brows all repositories > search "lombok" > install
    install lombok
  • still in settings > Build, Execution, Deployment > Annotation Processors > Enable annotation processing enable annotation processing

5. Debug client setup

  • run > edit configuration
    edit configuration
  • Use classpath for module > select the main ct.js (it might be named differently depending on your fork)
    classpath

Everything should be set up and ready to open pull requests