cozy-labs / cozy-light

Personal Server Made Easy
http://cozy-labs.github.io/cozy-light/
GNU Affero General Public License v3.0
104 stars 13 forks source link

error: unknown option `--port' #3

Closed maboiteaspam closed 10 years ago

maboiteaspam commented 10 years ago

Hi,

Weird error here on startup

cozy-light start --port 80

  error: unknown option `--port'

my setup

npm ls cozy-light  -g
cozy-light@0.2.19 
node -v
v0.10.26
npm -v
1.4.3
frankrousseau commented 10 years ago

You can run it with:

cozy-light start

The --port function is not implemented yet.

To set the port you can add it to the ~/cozy-light/.config-json file. Add this line:

 "port": 80
frankrousseau commented 10 years ago

Fixed via https://github.com/cozy-labs/cozy-light/commit/ed91a09a329b49da7bbf8e0c24b7964aeb274161