/tcloud

File sharing and torrent downloading

Primary LanguageJavaScript

Tcloud

Greenkeeper badge npm Travis branch Dependency Status js-standard-style

===== View =====

App-view

===== Installation =====

Standalone

Get the last release from https://github.com/Lunik/tcloud/releases

$ wget https://github.com/Lunik/tcloud/releases/download/v0.2.6/tcloud-v0.2.6.tgz

Uncompress the tarball and cd into

$ tar zxf tcloud-v0.2.6.tgz
$ cd tcloud-v0.2.6

Install dependencies

$ npm install --production

Run

$ node server.js

Docker

Docker Stars Docker Pulls

$ docker pull lunik/tcloud
$ docker run -d \
    -v /some/folder/files:/usr/src/app/files \
    -v /some/folder/config:/usr/config \
    -v /some/folder/database:/usr/src/app/database \
    lunik/tcloud:latest

Heroku

Deploy /!\ Heroku don't store any data. Once your app shutdown, you will loose all your login and your files. To prevent that you can use kaffeine to keep your app UP 24/24.

===== Configuration =====

Modify config.json. On the first installation, this file could be missing, run npm run build to generate a default one.

===== Notes =====

If you want to download large torrent, check your server memory. If the torrent is larger that your memorie, it could fail with allocation error. You can add swap to your server to prevent this issue. It comes from webtorrent issue.