Merged 1.3.x_branch into master
This commit is contained in:
44
README.md
44
README.md
@@ -1,7 +1,47 @@
|
|||||||
# About
|
# About
|
||||||
`repertory-js` is a client library used to communicate with `repertory's` remote API.
|
|
||||||
|
|
||||||
## Example Usage
|
`repertory-js` is a Node.js module for interfacing with `repertory's` remote mount API.
|
||||||
|
|
||||||
|
## Installing
|
||||||
|
|
||||||
|
```shell
|
||||||
|
npm i @scottg1/repertory-js
|
||||||
|
```
|
||||||
|
|
||||||
|
## Repertory Configuration
|
||||||
|
|
||||||
|
A Repertory mount must be active with the `EnableRemoteMount` setting enabled. `RemoteToken` should
|
||||||
|
also be set to a strong, random password.
|
||||||
|
|
||||||
|
### Enabling Sia Remote Mount API on Windows Systems
|
||||||
|
|
||||||
|
```shell
|
||||||
|
repertory.exe -unmount
|
||||||
|
repertory.exe -set RemoteMount.EnableRemoteMount true
|
||||||
|
repertory.exe -set RemoteMount.RemoteToken "my password"
|
||||||
|
|
||||||
|
[Optional - change listening port]
|
||||||
|
repertory.exe -set RemoteMount.RemotePort 202020
|
||||||
|
```
|
||||||
|
|
||||||
|
### Enabling Sia Remote Mount API on *NIX Systems
|
||||||
|
|
||||||
|
```shell
|
||||||
|
./repertory -unmount
|
||||||
|
./repertory -set RemoteMount.EnableRemoteMount true
|
||||||
|
./repertory -set RemoteMount.RemoteToken "my password"
|
||||||
|
|
||||||
|
[Optional - change listening port]
|
||||||
|
./repertory -set RemoteMount.RemotePort 202020
|
||||||
|
```
|
||||||
|
|
||||||
|
### Skynet and ScPrime Mounts
|
||||||
|
|
||||||
|
* For Skynet mounts, add `-sk` argument to all commands listed above.
|
||||||
|
* For ScPrime mounts, add `-sp` argument to all commands listed above.
|
||||||
|
|
||||||
|
## Example API Usage
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
const rep = require('@scottg1/repertory-js');
|
const rep = require('@scottg1/repertory-js');
|
||||||
|
|
||||||
|
|||||||
17
package.json
17
package.json
@@ -1,16 +1,23 @@
|
|||||||
{
|
{
|
||||||
"name": "@scottg1/repertory-js",
|
"name": "@scottg1/repertory-js",
|
||||||
"version": "1.3.1-r1",
|
"version": "1.3.1-r1",
|
||||||
"description": "Repertory Library for Remote Mount API",
|
"description": "A Node.js module for interfacing with Repertory's remote mount API",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "jest"
|
"test": "jest"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"siacoin",
|
|
||||||
"sia",
|
|
||||||
"scprime",
|
|
||||||
"repertory",
|
"repertory",
|
||||||
"library"
|
"repertory-ui",
|
||||||
|
"library",
|
||||||
|
"mount",
|
||||||
|
"fuse",
|
||||||
|
"winfsp",
|
||||||
|
"blockchain",
|
||||||
|
"decentralized",
|
||||||
|
"cloud",
|
||||||
|
"storage",
|
||||||
|
"altcoin",
|
||||||
|
"cryptocurrency"
|
||||||
],
|
],
|
||||||
"author": "scott.e.graves@protonmail.com",
|
"author": "scott.e.graves@protonmail.com",
|
||||||
"homepage": "https://bitbucket.org/blockstorage/repertory-js",
|
"homepage": "https://bitbucket.org/blockstorage/repertory-js",
|
||||||
|
|||||||
Reference in New Issue
Block a user