The app package can be built using the [Cloudron command line tooling](https://cloudron.io/references/cli.html).
```
The app package can be built using the [Cloudron command line tooling](https://cloudron.io/references/cli.html).
```
+git clone https://github.com/nebulade/surfer.git
cd surfer
cd surfer
-
cloudron build
cloudron install
```
cloudron build
cloudron install
```
-### How to upload
-
-You can upload files using the commandline tool.
+### Standalone
+Surfer can also be run standlone on any server:
+```
+git clone https://github.com/nebulade/surfer.git
+cd surfer
+npm install
+./server.js <public folder>
+```
+Use the `admin` tool to manage local users.
-First, install the surfer cli tool using npm.
+## File management
- sudo npm -g install cloudron-surfer
+The admin interface is available under the `/_admin` location or you can upload files using the commandline tool.
+First, install the surfer cli tool using npm.
+```
+npm -g install cloudron-surfer
+```
Login using your Cloudron credentials:
Login using your Cloudron credentials:
-
-surfer login <this app's url>
-
+```
+surfer login <this app's url>
+```
Put some files:
Put some files:
+```
+surfer put [file]
+```
- surfer put [file]
-
## 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 files are still ok.
## 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 files are still ok.