2019-07-18 15:35:23 +00:00
|
|
|
## Twosky intergration script
|
2018-11-19 06:57:45 +00:00
|
|
|
|
|
|
|
### Usage
|
|
|
|
|
|
|
|
```
|
|
|
|
npm install
|
2019-07-18 15:35:23 +00:00
|
|
|
TWOSKY_URI=<API URI> TWOSKY_CLIENT_ID=<PROJECT ID> node download.js
|
|
|
|
TWOSKY_URI=<API URI> TWOSKY_CLIENT_ID=<PROJECT ID> node upload.js
|
2018-11-19 06:57:45 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
After download you'll find the output locales in the `client/src/__locales/` folder.
|
2019-12-24 08:45:02 +00:00
|
|
|
|
|
|
|
Examples:
|
|
|
|
```
|
|
|
|
TWOSKY_URI=https://twosky.example/api/v1 TWOSKY_CLIENT_ID=adguardhome node download.js
|
|
|
|
TWOSKY_URI=https://twosky.example/api/v1 TWOSKY_CLIENT_ID=adguardhome node upload.js
|
|
|
|
```
|