TermKit
TermKit copied to clipboard
use npm for install
Since npm is already a dependency I suggest you create this as an npm package. It would change this:
- Install the Mac development tools (Xcode and friends).
- Install node.js.
- If not covered in #2, install npm: curl http://npmjs.org/install.sh | sh
- Install node-mime: npm install mime
- Clone the TermKit repository: git clone [email protected]:unconed/TermKit.git --recursive
- Users of older git versions will need to type: git submodule update --init
- Run the NodeKit daemon: cd TermKit/Node; node nodekit.js
- Unzip and run the Mac app in Build/TermKit.zip
Into this:
- Install the Mac development tools (Xcode and friends).
- Install node.js.
- If not covered in #2, install npm: curl http://npmjs.org/install.sh | sh
- $ npm install termkit
Where number 4 automates 5, 6, 7 and 8.
Just a thought. If you are interested in adding this, I'd be glad to help with #4.
+1 for this idea. Not sure if there a specific reason why this can't be done.
I don't think that's the intention, since the final product will be a self containing app...
Well for now, it could be the means of installing for the people who want to use it now. Eventually the packaged app can either make use of this method, or bundle the node modules. Perhaps both? Npm is the simplest way to manage node dependencies, there's no reason to over complicate it.
or 4. $npm install termkit-dev
to install specifically from cutting edge git, and download package for stable releases. Might I also suggest that running termkit.app also start up the node.js server, and provide a log window.
setting up a package.json file was working great for me. (Currently working through the recent socket.io 0.7 and git submodule changes)
I got my package.json file from Floby's branch
Is there a reason why the socket.io is a submodule instead of a npm install?