move to an all-in-one command shell interface
authorLunar <lunar@anargeek.net>
Fri, 8 Mar 2013 21:21:23 +0000 (22:21 +0100)
committerLunar <lunar@anargeek.net>
Thu, 14 Mar 2013 09:16:59 +0000 (10:16 +0100)
commitb105438877ec4d2c211ac900df1249b4cc39ae3d
tree31e41a92fa036fec41530f62a7b45f2e53c7118d
parentbb3223e8a29ed47fd52e8f476f41bf99b54f870d
move to an all-in-one command shell interface

Instead of having several different commands, we now move to a model where
there is one `coquelicot` command with several sub-commands.

`coquelicot-collect-garbage` is replaced by `coquelicot gc`.

`coquelicot-migrate-jyraphe` is replaced by coquelicot migrate-jyraphe`.

And two new sub-commands have been added: `start` and `stop`. They respectively
start and stop the Rainbows! web server, properly configured to run Coquelicot.

The configuration file for Coquelicot has gained new settings for web server
configuration:

 * `pid`: a path to the pid file,
 * `log`: a path to the log file,
 * `listen`: addresses on which requests should be accepted.

All of them are passed unmodified to Rainbows!: they are provided for the
administrator's convenience in order to keep all settings for Coquelicot in a
single configuration file.

Because there is no different environment for development and production,
`show_exceptions` is also mentioned in the default configuration file. Its
default value has been adjusted to false.
README
bin/coquelicot [moved from bin/coquelicot-collect-garbage with 96% similarity]
bin/coquelicot-migrate-jyraphe [deleted file]
conf/settings-default.yml
config-development.ru [deleted file]
config.ru [deleted file]
lib/coquelicot/app.rb
lib/coquelicot/jyraphe_migrator.rb
spec/coquelicot/app_spec.rb
spec/coquelicot/jyraphe_migrator_spec.rb