I'm also working on a simpler version for node, where you can basically do 'webservice2 nodejs start' and have it happily running. I'll try to work on that a bit more tomorrow
On Wed, Feb 4, 2015 at 10:41 PM, Merlijn van Deen <[email protected]> wrote: > On 4 February 2015 at 17:11, Magnus Manske <[email protected]> > wrote: >> >> Can I setup a node.js webserver as a tool on Labs (shared, no dedicated >> VM), and access it under the tool's URL? If so, any documentation as to how? >> > > This should be possible, either by using lighttpd with fcgi (preferred) or > by running a node.js server directly below the proxy. > > For the fcgi option, https://www.npmjs.com/package/node-fastcgi plus some > fiddling with the flask fcgi example on > https://wikitech.wikimedia.org/wiki/Help:Tool_Labs/Web#Example_configurations > should get you started. > > For the proxy option, see > https://wikitech.wikimedia.org/wiki/Help:Tool_Labs/Web#Other_web_servers > > Merlijn > > _______________________________________________ > Labs-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/labs-l > -- Yuvi Panda T http://yuvi.in/blog _______________________________________________ Labs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/labs-l
