Skip to content

Instantly share code, notes, and snippets.

@calmez
Created November 10, 2012 16:34
Show Gist options
  • Save calmez/4051614 to your computer and use it in GitHub Desktop.
Save calmez/4051614 to your computer and use it in GitHub Desktop.
useful things for lively
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>
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