codyopel / collide

Automatically exported from code.google.com/p/collide
Apache License 2.0
0 stars 0 forks source link

Choose port from command line #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Everyone and their brother uses port 8080. Collide does too, so it's annoying 
to use Collide with a dev webserver. Worse, if I want to run collide on two 
projects at once, I need to modify Collide's source code for each invocation.

Collide should accept a port on the command line for these reasons.

Original issue reported on code.google.com by dhasenan@gmail.com on 2 Sep 2012 at 3:35

GoogleCodeExporter commented 9 years ago
In bootstrap.js, you can set the port in 
var webFeConfig = {
  port: 13337,...
}

This file is @ /scripts/bootstrap.js

In a fork I am working on, I am creating a simple java-based launcher that will 
accept flags like port at startup (the .sh and .bat scripts will merely forward 
to the java main launcher).

Original comment by Ja...@wetheinter.net on 23 Aug 2013 at 5:16