Saturday, July 21, 2012
Installing coffee-script cli
Today I will be updating my box to the latest nodejs and after doing so, installing the coffee-script command line interface which allows for coffee-script to be run on such things as crontab, init.d, or even nagios (see other post). I will also be installing nodemon which will act as a daemon for my coffee-script web applications. Nodemon will watch for changes and restart the application if it finds any, which is pretty neat.
$ wget http://nodejs.org/dist/v0.8.3/node-v0.8.3.tar.gz
$ tar zxvf node-v0.8.3.tar.gz
$ cd node-v0.8.3
$ ./configure
{ 'target_defaults': { 'cflags': [],
'default_configuration': 'Release',
'defines': [],
'include_dirs': [],
'libraries': []},
'variables': { 'host_arch': 'x64',
'node_install_npm': 'true',
'node_install_waf': 'true',
'node_prefix': '',
'node_shared_openssl': 'false',
'node_shared_v8': 'false',
'node_shared_zlib': 'false',
'node_use_dtrace': 'false',
'node_use_etw': 'false',
'node_use_openssl': 'true',
'target_arch': 'x64',
'v8_no_strict_aliasing': 1,
'v8_use_snapshot': 'true'}}
creating ./config.gypi
creating ./config.mk
$ make
$ sudo make install
$ sudo npm install -g coffee-script
$ sudo npm install -g nodemon
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment