Skip to content

Commit

Permalink
v1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
jendib committed Mar 1, 2018
1 parent f70cded commit ea210d6
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 13 deletions.
2 changes: 1 addition & 1 deletion docs-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.sismics.docs</groupId>
<artifactId>docs-parent</artifactId>
<version>1.5-SNAPSHOT</version>
<version>1.5</version>
<relativePath>..</relativePath>
</parent>

Expand Down
22 changes: 15 additions & 7 deletions docs-importer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,28 @@ File Importer

This tool can be used to do a single import of files or to periodically scan for files in an input folder.

Requirements
------------
- NodeJS 9
- NPM
Downloads
---------
Built binaries for Windows/Linux/MacOSX can be found at <https://github.com/sismics/docs/releases>

Usage
-----
```console
npm install
node main.js
./docs-importer-macos (for MacOSX)
./docs-importer-linux (for Linux)
docs-importer-win.exe (for Windows)
```

A wizard will ask you for the import configuration and write it in `~/.config/preferences/com.sismics.docs.importer.pref`

Daemon mode
-----------
The daemon mode scan the input directory every 30 seconds for new files. Once a file is found and imported, it is **deleted**.
The daemon mode scan the input directory every 30 seconds for new files. Once a file is found and imported, it is **deleted**.

Build from sources
------------------
```console
npm install
npm install -g pkg
pkg .
```
2 changes: 1 addition & 1 deletion docs-importer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "docs-importer",
"version": "1.0.0",
"description": "Import files to Sismics Docs",
"main": "main.js",
"bin": "main.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
Expand Down
2 changes: 1 addition & 1 deletion docs-stress/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.sismics.docs</groupId>
<artifactId>docs-parent</artifactId>
<version>1.5-SNAPSHOT</version>
<version>1.5</version>
<relativePath>..</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion docs-web-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.sismics.docs</groupId>
<artifactId>docs-parent</artifactId>
<version>1.5-SNAPSHOT</version>
<version>1.5</version>
<relativePath>..</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion docs-web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.sismics.docs</groupId>
<artifactId>docs-parent</artifactId>
<version>1.5-SNAPSHOT</version>
<version>1.5</version>
<relativePath>..</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<groupId>com.sismics.docs</groupId>
<artifactId>docs-parent</artifactId>
<packaging>pom</packaging>
<version>1.5-SNAPSHOT</version>
<version>1.5</version>

<name>Docs Parent</name>

Expand Down

0 comments on commit ea210d6

Please sign in to comment.