syncthing-app/README.md

1.0 KiB

Syncthing Cloudron App

This repository contains the Cloudron app package source for Syncthing.

Installation

Install

or using the Cloudron command line tooling

cloudron install --appstore-id net.syncthing.cloudronapp

Building

The app package can be built using the Cloudron command line tooling.

cd syncthing-app

cloudron build
cloudron install

Testing

The e2e tests are located in the test/ folder and require nodejs. 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
USERNAME=user PASSWORD=password mocha --bail test.js