-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* publish server on npmjs * change version to rigger publication
- Loading branch information
Showing
4 changed files
with
61 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Publish server | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20 | ||
- name: Build | ||
run: |- | ||
cd server | ||
npm install | ||
npm run compile | ||
- name: Publish | ||
uses: JS-DevTools/npm-publish@v1 | ||
with: | ||
token: ${{ secrets.NPM_TOKEN }} | ||
package: ./server/package.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,18 @@ | ||
# NUCLIA Sync | ||
# Nuclia Sync agent | ||
|
||
The Nuclia Sync Agent is a small application that runs on your computer and keeps your files in sync with the Nuclia cloud. It is available for Windows, macOS, and Linux. | ||
|
||
## Installation | ||
|
||
To install the Nuclia Sync Agent, download the installer from its [repository](https://github.com/nuclia/sync-agent/releases) and run it. | ||
|
||
It runs on port 8090. | ||
|
||
## Configuration | ||
|
||
In the Upload page of the Nuclia dashboard, you can enable the Nuclia Sync Agent and configure it to connect to your computer. | ||
You must use `http://localhost:8090` as the server URL. | ||
|
||
## Deloyment on a server | ||
|
||
If you want to deploy the Nuclia Sync Agent on a server rather than on your computer, you can use the [Nuclia Sync Agent server](https://github.com/nuclia/sync-agent/tree/main/server/README.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Nuclia Sync Agent server | ||
|
||
The Nuclia Sync Agent server is NodeJS application that runs on your server and keeps your files in sync with the Nuclia cloud. | ||
|
||
## Usage | ||
|
||
To install and run the Nuclia Sync Agent server, run the following commands: | ||
|
||
```bash | ||
npm install -g nuclia-sync-agent-server | ||
nuclia-sync-agent-server | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters