Skip to content
Other versions

Loading…

Setup

You can download the application from OpenKM Download center.

To run the application on your computer you will need Java 8 installed.

Unzip the Import-station-2.x.zip file at /home/openkm/

Terminal window
$ cd /home/openkm
$ unzip Import-station-2.x.zip

In the /home/openkm/import-station/  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.

You must register the import-station translations in your OpenKM. The application is used to store the import-station translations.

  • Go to your OpenKM at Administration > Tools > Database Query.
  • Copy all the SQL contents into the text area.
  • Choose the JDBC option from the bottom right.
  • Click on the “Execute” button.

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/plugins
okm.login.token.expiration 
(optional)
Token expiration time in days.
By default, it has an expiration time of 24 hours.

To launch the application, use this command:

Terminal window
$ java -jar import-station.jar

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:

Terminal window
$ java -jar import-station.jar /home/user/my-config.cfg

Running the application with the command help will print information about all available command-line application options.

Terminal window
$ java -jar import-station.jar help

Unzip the Import-station-2.x.zip file at c:\openkm\

In the c:\openkm\import-station\  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.

You must register the import-station translations in your OpenKM. The application is used to store the import-station translations.

  • Go to your OpenKM at Administration > Tools > Database Query.
  • Copy all the SQL contents into the text area.
  • Choose the JDBC option from the bottom right.
  • Click on the “Execute” button.

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/plugins
okm.login.token.expiration 
(optional)
Token expiration time in days.
By default, it has an expiration time of 24 hours.

To launch the application, use this command:

Terminal window
C:\> java -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 -jar import-station.jar

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:

Terminal window
C:\> java -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 -jar import-station.jar c:/my-config.cfg

Running the application with the command help will print information about all available command-line application options.

Terminal window
C:\> java -jar import-station.jar help