From 169a7d85abd6cf452c6cf6f60c01a0606ef818e3 Mon Sep 17 00:00:00 2001 From: Sathya Sekaran Date: Tue, 24 May 2011 15:21:01 -0700 Subject: [PATCH] Adding a nodekit script as a commandline shortcut to start the server. --- Readme.md | 4 ++-- bin/nodekit | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100755 bin/nodekit diff --git a/Readme.md b/Readme.md index 29a21d9..3101b44 100644 --- a/Readme.md +++ b/Readme.md @@ -42,7 +42,7 @@ Unfortunately, TermKit currently requires some assembly. 4. Install node-mime: `npm install mime` 5. Clone the TermKit repository: `git clone https://github.com/unconed/TermKit.git --recursive` 6. Users of older git versions will need to type: `git submodule update --init` -7. Run the NodeKit daemon: `cd TermKit/Node; node nodekit.js` +7. Run the NodeKit daemon: `TermKit/bin/nodekit` or `cd TermKit/Node; node nodekit.js` 8. Unzip and run the Mac app in Build/TermKit.zip *Tip:* Press ⌥⌘C to access the WebKit console. @@ -51,4 +51,4 @@ Includes: * “NSImage+QuickLook” by Matt Gemmell (http://mattgemmell.com/source). * SyntaxHighlighter by Alex Gorbatchev (http://alexgorbatchev.com/SyntaxHighlighter/) -* jQuery and jQuery UI \ No newline at end of file +* jQuery and jQuery UI diff --git a/bin/nodekit b/bin/nodekit new file mode 100755 index 0000000..25964e3 --- /dev/null +++ b/bin/nodekit @@ -0,0 +1,3 @@ +#!/bin/bash +DIRECTORY=$(cd `dirname $0` && cd .. && pwd) +cd $DIRECTORY/Node; node nodekit.js