Skip to content
This repository has been archived by the owner on Apr 30, 2020. It is now read-only.

Lunik/tcloud

Repository files navigation

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

===== 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.