Open ramyakmehra opened 6 years ago
It works the same as on a local machine. just install node & npm to the server, npm install peerflix-server, start peerflix-server and go to the servers url at port 9000. You could also create a systemd file and enable it to start on boot. Not sure why you would want to do this though I'm sure google cloud and most VPSs don't appreciate torrent traffic on their network.
I would suggest to avoid installing by hand completely and use the public Docker image, since it looks easier, IMO (not tested myself, though). To deploy it in GCP, this might come handy: https://medium.com/@cgrant/simple-container-deploys-on-google-cloud-platform-39cc46333508
EDIT: Keep in mind @TheNightmanCodeth advice about traffic. Although I think GCP will not complain about p2p traffic, they will bill you for outbound traffic. Make sure to check pricing.
is there anybody guide me thorugh the process of deploying it to google cloud or something like that as heroku has banned peer to peer apps? video or written tutorial anything would be heplful