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
$ node server.js
$ 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 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.
Modify config.json
.
On the first installation, this file could be missing, run npm run build
to generate a default one.
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.