README.md 574 Bytes
Newer Older
Erik Schwartz's avatar
Erik Schwartz committed
1
2
# recfu-mover

Erik Schwartz's avatar
Erik Schwartz committed
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Download files from IQ SFTP server to local filesystem.

* Used for BO report delivery to Rec Fusion customers.
* BO -> SFTP [project documentation](https://iqops.dsc.umich.edu/wiki/index.php/Transfer_files_from_BO_to_IQ_SFTP_server).
* Tested with [Node.js v8 LTS](https://nodejs.org/en/).

## Install and unit test

```bash
cd recfu-mover
npm install
npm test
```

Erik Schwartz's avatar
Erik Schwartz committed
17
18
19
20
21
22
23
24
25
Next, copy the example configuration:

```bash
cp ./site-config/client.json.EXAMPLE ./site-config/client.json
```

.. and set `client.json` values as needed.


Erik Schwartz's avatar
Erik Schwartz committed
26
27
28
29
30
## Run

```bash
node app.js
```