-
Notifications
You must be signed in to change notification settings - Fork 38
Running a Development Copy of Find
So you've made some changes to Find and want to test them. This is the page for you!
For the purposes of this guide, we're assuming that you've already cloned Find from GitHub and installed all of the dependencies. If you haven't, go and follow the steps on the Building Find Wiki page.
mvn install
It's important to run the install step, as this "installs" the modules to your local Maven repository. This makes the core module available for idol to use as a dependency.
Find runs on Java 17 or 21.
-
cdintoidol. - Run
mvn spring-boot:run -Didol.find.home=<path_to_find_home_directory>. You will need to create a home directory for Find - have a look at Home-directory.
Any changes you make to Java files will be recompiled and redeployed automatically.
From your idol folder, run the following command:
grunt copy-resources
This will take any changes you make to static files (HTML, CSS, JavaScript, images, etc) in core and deploy them into your running Spring Boot server from step two.
- Navigate to http://localhost:8080 and you should see Find. A config file has been generated in the Find home directory that you specified on the command line in step two.
Any code changes you make will appear after a short delay (should be less than a couple of seconds) - refresh your browser to pick up client side changes.