alabid / flylatex

FlyLatex: A Realtime Collaborative Environment (with a concurrent editor) in node-js.
766 stars 85 forks source link

How can I run flylatex not on localhost? #29

Closed ghost closed 11 years ago

ghost commented 11 years ago

I'm wondering, is it possible to run FlyLatex on an IP other than localhost? And is it possible to run it in a subdirectory?

For example, I want it to show up at apps.site.com/flylatex:3000. How would I configure it do do that? Thanks!

DavidSichau commented 11 years ago

You can run it any domain you want to use. You need to set up your DNS accordingly.

That socket.io works not on localhost you need to change the file public/js/socket-application.js

There change line 3 to:

var socket = io.connect();