rcc-uchicago / submit

Simple web service for submitting file uploads and associated metadata.
0 stars 4 forks source link

Host and port params #7

Closed joyrexus closed 9 years ago

joyrexus commented 9 years ago

Avoid hard-coding host and port. Make these command-line parameters for server.js.

joyrexus commented 9 years ago

Per issue #6, we're eventually going to want the server to register its port usage with a seaport registry. The client could then query the registry for our submit service, rather than having to know the services's port number in advance.

joyrexus commented 9 years ago

I modified the host/port arg parsing a bit.

joyrexus commented 9 years ago

See #8 for next task related to this.