mirror of
https://git.cloudron.io/cloudron/syncthing-app
synced 2025-10-05 18:37:03 +00:00
First version
This commit is contained in:
37
README.md
Normal file
37
README.md
Normal file
@@ -0,0 +1,37 @@
|
||||
# Syncthing Cloudron App
|
||||
|
||||
This repository contains the Cloudron app package source for [Syncthing](http://www.syncthing.net).
|
||||
|
||||
## Installation
|
||||
|
||||
[](https://cloudron.io/button.html?app=net.syncthing.cloudronapp)
|
||||
|
||||
or using the [Cloudron command line tooling](https://git.cloudron.io/cloudron/cloudron-cli/)
|
||||
|
||||
```
|
||||
cloudron install --appstore-id net.syncthing.cloudronapp
|
||||
```
|
||||
|
||||
## Building
|
||||
|
||||
The app package can be built using the [Cloudron command line tooling](https://git.cloudron.io/cloudron/cloudron-cli/).
|
||||
|
||||
```
|
||||
cd syncthing-app
|
||||
|
||||
cloudron build
|
||||
cloudron install
|
||||
```
|
||||
|
||||
## Testing
|
||||
|
||||
The e2e tests are located in the `test/` folder and require [nodejs](http://nodejs.org/). They are creating a fresh build, install the app on your Cloudron, perform tests, backup, restore and test if the repos are still ok. The tests expect port 29418 to be available.
|
||||
|
||||
```
|
||||
cd syncthing-app/test
|
||||
|
||||
npm install
|
||||
export PATH=$PATH:node_modules/.bin
|
||||
mocha --bail test.js
|
||||
```
|
||||
|
Reference in New Issue
Block a user