Development Environment Set Up for Rules
Setting up a full featured IDE like IntelliJ provides access to a set of useful development tools and enables local compilation of rules.
Step-by-step guide
Old guide can be found here. It covers some useful steps. Here below is an update as to where to find the important .jar file
- Install JetBrains IntelliJ Community Edition (https://www.jetbrains.com/idea/download/)
- SSH into a running Indeni system
- Locate the file "indeni-server.jar" ( sudo find / -name "indeni-server.jar" )
- If you work on mac or linux
- Go to a local terminal
- Write "scp indeni@x.x.x.x:/path/to/indeni-server.jar ~/Somewhere" to copy the file locally
- Go to a local terminal
- If you are a windows user
- Make sure you have putty installed
- Locate pscp.exe
- Run pscp with the same parameters as mentioned above
- Move indeni-server.jar to the directory where you wish to store it
- Create a new project in IntelliJ with the project type "Scala" (Scala and IDEA type of project)
- Go to File → Project Structure
- Under modules, choose "Add dependencies" → "JARs or directories"
- Choose indeni-server.jar
Related articles