First install or update leiningen.
- Download the lein script. For Windows, download lein.bat.
- Place it on your $PATH where your shell can find it (eg. ~/bin).
- Set it to be an executable (chmod a+x ~/bin/lein).
- Run the Lein script (eg. "./lein" or "sh lein") without quotes.
You can check your package manager. However, be sure you get version 2.x. Windows users can use this installer.
Then we have to do some juggling (unless you fancy building node-webkit from source).
On OS X:
git clone https://github.com/LightTable/LightTable.git
cd LightTable
sh osx_deps.sh
export LT_HOME=$(pwd)/deploy
./deploy/lightOn Linux:
git clone https://github.com/LightTable/LightTable.git
cd LightTable
bash linux_deps.sh
./deploy/LightTableOn Windows (using Cygwin) (note: this may trigger issue 1025):
git clone https://github.com/LightTable/LightTable.git
cd LightTable
bash windows_deps.sh
chmod -R u+rwx deploy/
./deploy/LightTableOn Windows (manual):
- Clone the repo https://github.com/LightTable/LightTable.git
- Download http://d35ac8ww5dfjyg.cloudfront.net/playground/bins/0.6.0/LightTableWin.zip
- Unzip LightTableWin.zip
- Copy the following files from the zip into the cloned repo at LightTable/deploy/
- ffmpegsumo.dll
- icudt.dll
- libEGL.dll
- libGLESv2.dll
- LightTable.exe
- nw.pak
- You can also either copy the plugins/ folder over too or git clone the ones you want to modify down from github. You'll want at least the Clojure plugin and the Rainbow plugin.
- Double click LightTable.exe
After the initial setup, you can compile the ClojureScript source at any time with lein cljsbuild once.