On Wednesday, August 19, 2015 at 4:23:09 PM UTC+3, Kyle Cordes wrote:
> On August 18, 2015 at 11:56:58 PM, Kristo Koert 
> ([email protected](mailto:[email protected])) wrote:
> 
> > Maybe you are working in the same network as your target machine? Then 
> > there is no need for port forwarding, however I want to use this setup 
> > anywhere with internet connection. I might be wrong as I am by no means an 
> > expert.
> 
> 
> No, nothing like that. However, the most obvious requirement of all these 
> systems is met: the IP address which the development machine (a DigitalOcean 
> VM) knows as its address, is its publicly accessible address which I can 
> reach from arbitrary points on the Internet.
> 
> I just double checked that it works as I remember, and indeed it does. I just 
> double-checked using the trivial start up directions on the figwheel README: 
> https://github.com/bhauman/lein-figwheel    I ran lein figwheel  to get it up 
> and running. I opened it in my browser, across the Internet. I saw it run. I 
> made a trivial edit and saved. The program updated in a couple of seconds 
> with no intervention from me.
> 
> There is a Web socket open from my page to the server (started by fig wheel) 
> from which my application is also served. I edit a file and save it. Figwheel 
> recompiles, and injects the updated code into the already open page. The 
> process takes about two seconds, probably because the DigitalOcean VM I am 
> using is not particularly powerful.
> 
> No port forwarding or any other special configuration.
> 
> 
> --  
> Kyle Cordes
> http://kylecordes.com

I have a home network so the desktops IP is not publicly available, to make it 
available I needed to forward a port from the routers IP, which is publicly 
available, to the desktop PCs home network IP.

Regarding figwheel, I am at a loss.. caching is disabled for chrome, tried 
accessing from outer network and home network. Nothing seems to work, only 
reloading the page updates it on the chromebook.

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to