Created
November 10, 2012 16:34
-
-
Save calmez/4051614 to your computer and use it in GitHub Desktop.
useful things for lively
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prerequisites | |
============= | |
git clone git://github.com/LivelyKernel/livelykernel-scripts.git | |
(in dir <lk-scripts-repo-dir>) | |
dependencies of a node.js app | |
============================= | |
npm list --parseable | sed "s/.*\/node_modules\/\(.*\)$/\1/" | sed "s/\/.*$//" | sort | uniq | |
lk command install | |
================== | |
ln -s <lk-scripts-repo>/bin/lk /usr/local/bin/lk | |
cd <lk-scripts-repo-dir> | |
npm install <all dependencies> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
start server (in lively repo dir) | |
================================= | |
lk server --lk-dir .& | |
run tests (in lively repo dir) | |
============================== | |
lk test --lk-dir . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment