mirror of
https://github.com/sismics/docs.git
synced 2024-11-21 21:47:57 +01:00
v1.5
This commit is contained in:
parent
f70cded634
commit
ea210d6aac
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.sismics.docs</groupId>
|
<groupId>com.sismics.docs</groupId>
|
||||||
<artifactId>docs-parent</artifactId>
|
<artifactId>docs-parent</artifactId>
|
||||||
<version>1.5-SNAPSHOT</version>
|
<version>1.5</version>
|
||||||
<relativePath>..</relativePath>
|
<relativePath>..</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
@ -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.
|
This tool can be used to do a single import of files or to periodically scan for files in an input folder.
|
||||||
|
|
||||||
Requirements
|
Downloads
|
||||||
------------
|
---------
|
||||||
- NodeJS 9
|
Built binaries for Windows/Linux/MacOSX can be found at <https://github.com/sismics/docs/releases>
|
||||||
- NPM
|
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
-----
|
-----
|
||||||
```console
|
```console
|
||||||
npm install
|
./docs-importer-macos (for MacOSX)
|
||||||
node main.js
|
./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`
|
A wizard will ask you for the import configuration and write it in `~/.config/preferences/com.sismics.docs.importer.pref`
|
||||||
|
|
||||||
Daemon mode
|
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,7 +2,7 @@
|
|||||||
"name": "docs-importer",
|
"name": "docs-importer",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "Import files to Sismics Docs",
|
"description": "Import files to Sismics Docs",
|
||||||
"main": "main.js",
|
"bin": "main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.sismics.docs</groupId>
|
<groupId>com.sismics.docs</groupId>
|
||||||
<artifactId>docs-parent</artifactId>
|
<artifactId>docs-parent</artifactId>
|
||||||
<version>1.5-SNAPSHOT</version>
|
<version>1.5</version>
|
||||||
<relativePath>..</relativePath>
|
<relativePath>..</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.sismics.docs</groupId>
|
<groupId>com.sismics.docs</groupId>
|
||||||
<artifactId>docs-parent</artifactId>
|
<artifactId>docs-parent</artifactId>
|
||||||
<version>1.5-SNAPSHOT</version>
|
<version>1.5</version>
|
||||||
<relativePath>..</relativePath>
|
<relativePath>..</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.sismics.docs</groupId>
|
<groupId>com.sismics.docs</groupId>
|
||||||
<artifactId>docs-parent</artifactId>
|
<artifactId>docs-parent</artifactId>
|
||||||
<version>1.5-SNAPSHOT</version>
|
<version>1.5</version>
|
||||||
<relativePath>..</relativePath>
|
<relativePath>..</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
2
pom.xml
2
pom.xml
@ -6,7 +6,7 @@
|
|||||||
<groupId>com.sismics.docs</groupId>
|
<groupId>com.sismics.docs</groupId>
|
||||||
<artifactId>docs-parent</artifactId>
|
<artifactId>docs-parent</artifactId>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
<version>1.5-SNAPSHOT</version>
|
<version>1.5</version>
|
||||||
|
|
||||||
<name>Docs Parent</name>
|
<name>Docs Parent</name>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user