alexandrevicenzi / gistfy

Code once, share everywhere.
MIT License
65 stars 22 forks source link

Feature use rc config #5

Closed giodamelio closed 10 years ago

giodamelio commented 10 years ago

Use rc for configuration. Easily set config options is multiple places.

For example

$ node src/gistfy.js --port=3141 // Run the server on port 3141

Or

In file ".gistfyrc"

; Serve html by default
type = html
giodamelio commented 10 years ago

I just rebased this to fix the merge conflict.

alexandrevicenzi commented 10 years ago

Yesterday I saw a config.js file. Where is this file?

giodamelio commented 10 years ago

I totally botched the merge and lost the code. I will have to rewrite it. Give me a few hours.

giodamelio commented 10 years ago

There we go. All re-written.

giodamelio commented 10 years ago

Done