mirror of
https://github.com/sismics/docs.git
synced 2025-12-15 18:56:18 +00:00
v1.5
This commit is contained in:
@@ -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 .
|
||||
```
|
||||
Reference in New Issue
Block a user