diff options
-rw-r--r-- | README.md | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..b940258 --- /dev/null +++ b/README.md | |||
@@ -0,0 +1,44 @@ | |||
1 | # Surfer | ||
2 | |||
3 | Surfer is a Simple static file server. It comes with a commandline tool | ||
4 | to upload files from your local folders. | ||
5 | |||
6 | ## Installation | ||
7 | |||
8 | [![Install](https://cloudron.io/img/button32.png)](https://cloudron.io/button.html?app=io.cloudron.surfer) | ||
9 | |||
10 | or using the [Cloudron command line tooling](https://cloudron.io/references/cli.html) | ||
11 | |||
12 | ``` | ||
13 | cloudron install --appstore-id io.cloudron.surfer | ||
14 | ``` | ||
15 | |||
16 | ## Building | ||
17 | |||
18 | The app package can be built using the [Cloudron command line tooling](https://cloudron.io/references/cli.html). | ||
19 | |||
20 | ``` | ||
21 | cd surfer | ||
22 | |||
23 | cloudron build | ||
24 | cloudron install | ||
25 | ``` | ||
26 | |||
27 | ### How to upload | ||
28 | |||
29 | You can upload files using the commandline tool. | ||
30 | |||
31 | First, install the surfer cli tool using npm. | ||
32 | |||
33 | sudo npm -g install cloudron-surfer | ||
34 | |||
35 | |||
36 | Login using your Cloudron credentials: | ||
37 | |||
38 | surfer login <this app's url> | ||
39 | |||
40 | |||
41 | Put some files: | ||
42 | |||
43 | surfer put [file] | ||
44 | |||