$ git clone https://github.com/nabigraphics/pink-wt
$ cd pink-wt
$ npm install
$ touch server/config.js
$ npm run build
$ npm start
$ npm run dev-server // development nodemon server start.
$ npm run dev // webpack development bundling.
$ npm run start // server start.
$ npm run build // webpack production build.
module.exports = {
port:Number,
socket:Number,
socketClient:String,
mongoDB:String,
TRACKERS:Array,
}
Application Port
Socket.io Port
socket.io client connect URL
mongoose connect URL
? mongoose Getting Started
module.exports = {
port:25252,
socket:9000,
socketClient:"http://localhost:9000/",
mongoDB:"mongodb://localhost/",
TRACKERS:[
["udp://tracker.leechers-paradise.org:6969"],
["udp://tracker.opentrackr.org:1337"],
["udp://explodie.org:6969"],
["udp://tracker.empire-js.us:1337"],
["wss://tracker.btorrent.xyz"],
["wss://tracker.openwebtorrent.com"],
["wss://tracker.fastcast.nz"],
]
}