Setup
Download
Section titled “Download”You can download the application from OpenKM Download center.
To run the application on your computer you will need Java 8 installed.
Linux configuration
Section titled “Linux configuration”Unzip the Import-station-1.0.zip file at /home/openkm/
$ cd /home/openkm$ unzip Import-station-1.0.zipIn the /home/openkm/import-station-1.0/ folder you will have the following contents:
- JAR file of the import-station application.
- plugins folder: which contains the list of available plugins.
- import-station.cfg: configuration file.
- translations.sql: contains the translation terms of the application.
Register translations
Section titled “Register translations”You must register the import-station translations in your OpenKM. The application is used for storing the import-station translations.
- Go to your OpenKM at Administration > Tools > Database Query.
- Copy all the sql contents into the text area.
- Choose jdbc option from the bottom right.
- Click on the “Execute” Button.
Configure connection
Section titled “Configure connection”Edit the import-station.cfg file with the following values:
| Property | Description |
|---|---|
| okm.url | OpenKM URL http://localhost:8080/OpenKM/ |
| okm.import.plugins.directory | Path of the plugins directory /home/openkm/import-station-1.0/plugins |
Launch the application
Section titled “Launch the application”To launch the application, use this command:
$ java -jar import-station-1.0.jarLaunch with custom cfg file
Section titled “Launch with custom cfg file”You can launch the app with your custom config file. To do so, just set the absolute path to the configuration file as a parameter:
$ java -jar import-station-1.0.jar /home/user/myConfig.cfgApplication command line help
Section titled “Application command line help”Running the application with the command help will print information about all available command-line options.
$ java -jar import-station-1.0.jar helpWindows configuration
Section titled “Windows configuration”Unzip the Import-station-1.0.zip file at c:\openkm\
In the c:\openkm\import-station-1.0\ folder you will have the following contents:
- JAR file of the import-station application.
- plugins folder: which contains the list of available plugins.
- import-station.cfg: configuration file.
- translations.sql: contains the translation terms of the application.
Register translations
Section titled “Register translations”You must register the import-station translations in your OpenKM. The application is used for storing the import-station translations.
- Go to your OpenKM at Administration > Tools > Database Query.
- Copy all the sql contents into the text area.
- Choose jdbc option from the bottom right.
- Click on the “Execute” Button.
Configure connection
Section titled “Configure connection”Edit the import-station.cfg file with the following values:
| Property | Description |
|---|---|
| okm.url | OpenKM URL http://localhost:8080/OpenKM/ |
| okm.import.folder | OpenKM default import path. /okm:root/import By default, documents are imported to /okm:root/import |
| okm.import.plugins.directory | Path of the plugins directory c:/openkm/import-station-1.0/plugins |
Launch the application
Section titled “Launch the application”To launch the application, use this command:
C:\> java -jar import-station-1.0.jarLaunch with custom cfg file
Section titled “Launch with custom cfg file”You can launch the app with your custom config file. To do so, just set the absolute path to the configuration file as a parameter:
C:\> java -jar import-station-1.0.jar c:/myConfig.cfgApplication command line help
Section titled “Application command line help”Running the application with the command help will print information about all available command-line options.
C:\> java -jar import-station-1.0.jar help