- Git
- Java >= 8 (JDK)
- NodeJS
- Yarn (can be installed globally through npm)
$ cd folder/where/your/projects/are$ git clone https://github.com/ACMCSUS/DebugJudge.git$ cd DebugJudge
$ yarn
$ git checkout dev$ git checkout -b new-feature- Note: Please parent your new branches to dev by default
- This practice might change in the future
$ yarn watch
./gradlew run- Note: This will say "85%", but it's really running.
- Note: If you have idea perform this gradle task in debug mode, you can use breakpoints.
- Just refresh your browser to get the new frontend
- If you don't like the watching functionality, run
yarn ng buildinstead.
- When you change the proto files, you need to regenerate the TS code.
$ yarn protoc
- For now, we commit the TS files for protos into GitHub.
- For merge conflicts in the proto TS code, fix the proto and then regenerate.
- Do not attempt to fix merge conflicts manually, it will just be overwritten.