Name Last Update
app Loading commit data...
cli Loading commit data...
src Loading commit data...
test Loading commit data...
views Loading commit data...
.dockerignore Loading commit data...
.gitignore Loading commit data...
.jshintrc Loading commit data...
CloudronManifest.json Loading commit data...
DESCRIPTION.md Loading commit data...
Dockerfile Loading commit data...
README.md Loading commit data...
app.js Loading commit data...
logo.png Loading commit data...
package.json Loading commit data...
start.sh Loading commit data...

Surfer

Surfer is a Simple static file server. It comes with a commandline tool to upload files from your local folders.

Installation

Install

or using the Cloudron command line tooling

cloudron install --appstore-id io.cloudron.surfer

Building

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

cd surfer

cloudron build
cloudron install

How to upload

You can upload files using the commandline tool.

First, install the surfer cli tool using npm.

sudo npm -g install cloudron-surfer

Login using your Cloudron credentials:

surfer login <this app's url>

Put some files:

surfer put [file]

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 files are still ok.

cd surfer

npm install
USERNAME=<cloudron username> PASSWORD=<cloudron password> mocha --bail test/test.js