Building From Source
Building Scoold
Section titled “Building Scoold”To build Scoold from source code you’ll need JDK 21+ and Maven. Then just clone the repo and build the project:
git clone https://github.com/erudika/scoold.gitcd scooldmvn clean installTo run a local instance of Scoold for development, use:
mvn -Dconfig.file=./scoold-application.conf spring-boot:runTo generate a WAR package, run:
mvn -Pwar packageTo generate the native image, install GraalVM first and run:
mvn -Pnative clean packageBuilding Scoold Pro
Section titled “Building Scoold Pro”To build Scoold Pro, you will need access to the Scoold Pro source code repo. For license holders with access to the Scoold Pro source code, the steps are as follows:
- Clone the Scoold Pro repository:
Terminal window git clone https://git-codecommit.eu-west-1.amazonaws.com/v1/repos/scoold-pro - Enter your username and password for the Git repository.
- Build Scoold Pro:
Terminal window git clone https://github.com/erudika/scoold.gitcd scoold-promvn clean install
You should be able to browse the source code with any of the Git graphic interface tools out there. Keep in mind that the repository is read-only, so you can only work with local branches and merge the latest changes from the main branch to your local branch.
Contributing
Section titled “Contributing”- Fork this repository and clone the fork to your machine
- Create a branch (
git checkout -b my-new-feature) - Implement a new feature or fix a bug and add some tests
- Commit your changes (
git commit -am 'Added a new feature') - Push the branch to your fork on GitHub (
git push origin my-new-feature) - Create new Pull Request from your fork
Please try to respect the code style of this project. To check your code, run it through the style checker:
mvn validate