Closed bgiesing closed 7 years ago
Sorry, but I only support running this on bare hardware or in full root access virtual machines right now. Although those changes may look simple at first, I don't know how CyTube will interact with their sandboxed environment; it's certainly possible that there are more issues you will run into further down the line.
I am certainly willing to consider a pull request to make necessary changes, and user-contributed documentation for getting it to run in such an environment, but it's not something I intend to support officially at this time.
@calzoneman I would try it myself but I don't know which file I edit to change the ports to their vars.
It would be src/server.js
right?
@bgiesing Edit the IPs and ports in the listen
, http
, https
(if applicable), and io
blocks around https://github.com/calzoneman/sync/blob/3.0/src/config.js#L16 and leave them blank in config.yaml
.
You'll need to specify a different port for the socket.io server, though. This may help: http://stackoverflow.com/questions/31518013/nodejs-websocket-server-ip-localhost-openshift
I would agree that you'd probably save a lot of time, money, and hassle if you just used a cheap Digital Ocean or Linode VPS, though.
@lolcow I will check it out.
(Also I would love Digital Ocean but I have $0 to my name... Sucks being poor.)
@bgiesing I'd recommend using Amazon AWS EC2's micro instance free trial at https://aws.amazon.com/free/.
It's completely free for the year as long as you stay under the usage caps. You get root access to a virtual server just like you would with Digital Ocean.
Services like Heroku and its clones aren't very good for people who just want to play around with stuff. Honestly, I don't think they're good for anything at all, other than maybe saving a tiny bit of time, or making things easier for those who know how to program but don't want to learn how to use *nix.
Closing due to inactivity and no plans to work on this myself. Feel free to PR if someone else wants to pick it up.
I have been trying for hours now to install on OpenShift Online. So far, I got everything installed but it can't start as OpenShift needs a modification for node ports.
Here's their blog article that explains the two simple changes. I just don't know how to implement it as I'm not a node person.
@calzoneman