Raathigesh / atmo

:heavy_check_mark: Mock data for your prototypes and demos. Remote deployments to Zeit now.
815 stars 46 forks source link

Use a free port instead of a predefined port & CLI option for port #1

Closed Raathigesh closed 8 years ago

Raathigesh commented 8 years ago

Pick a free port and use for the API server

Raathigesh commented 8 years ago

Dashboard now uses a free available port. Have to provide a CLI parameter option for API server so it can be started on a specified port. If CLI parameters not provided, use a random free port for API server as well.

Raathigesh commented 8 years ago

--port CLI parameter accepts a port number

Added in 5a1958b2fd69f34f104d1e4ba2ebf48c346070c0