ATFutures / geoplumber

Serve geographic data from R and consume with scalable front end.
https://atfutures.github.io/geoplumber/
59 stars 7 forks source link

Remove `future` #64

Closed layik closed 5 years ago

layik commented 5 years ago

I better say not too much. This code might do the job.

setwd("~/code/geoplumber/my_app")
if(!geoplumber::gp_is_wd_geoplumber())
  stop("!gp_is_wd_geoplumber()")
system("kill -9 $(lsof -ti tcp:3000)")
print(system("lsof -i :3000"))
system("npm start &") 
# check ps again
print(system("lsof -i :3000"))
print("R console not blocked and that is all gp needed, I think!") 

Cannot use reprex for some reason.

layik commented 5 years ago

Wont be able to work on this for a little while.

layik commented 5 years ago

Thanks to @mpadge for his guidance on Slack.