Public | Automated Build

Last pushed: a year ago
Short Description
testing
Full Description

Lunik-Torrent





<!-- TOC depthFrom:1 depthTo:6 withLinks:1 updateOnSave:1 orderedList:0 -->

<!-- /TOC -->

===== View =====


===== Installation =====

With Git

$ git clone https://github.com/Lunik/Lunik-Torrent.git
$ cd Lunik-Torrent
$ npm install

Configuration into: configs/config.json

Run

$ npm start
or with forever
$ npm run deamon

With Heroku


/!\ 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.

With Docker



Create config.json following this pattern config.default. Then put it int /your_config_folder.

Then run:

$ docker pull lunik/lunik-torrent
$ docker run -d \
    -p 8080:8080 \
    -v /your_config_folder:/usr/src/app/configs \
    -v /your_download_folder:/usr/src/app/files \
    lunik/lunik-torrent

===== Infos =====

Register

You need an inscription code provided by the server admin.

Create an invitation code

Goto to http://myapp.com/invitation?invitationkey=MY_INVITATION_KEY

For more advanced user

$ ./scripts/getinvite.sh
OR
$ curl --data "invitationkey=MY_INVITATION_KEY" http://localhost:5000/auth?todo=invite
{
  "err":false,
  "invitationCode":"your_invitation_code"
}

To register go to http://localhost:5000/login.html#your_invitation_code

Docker Pull Command
Owner
fakeindia
Source Repository