TryClojure is a online Clojure REPL written using Noir and Chris Done's jquery console (you're awesome, Chris).
To run it locally, use lein ring server
.
The original version of the tutorial is available at: http://tryclj.com
We are running an instance of the extended tutorial on EC2:
http://ec2-54-77-13-3.eu-west-1.compute.amazonaws.com:8801/
Installed Ubuntu 14.04 LTS 64-bit AMI, login and:
sudo apt-get install openjdk-7-jdk
cd $(mktemp -d)
wget https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein
chmod 0755 lein
sudo cp lein /usr/local/bin
lein version
sudo apt-get install git
sudo adduser --system tryclj --group --disabled-login --home /opt/tryclojure
cd /opt/tryclojure
sudo -u tryclj git clone https://github.com/ray1729/tryclojure.git
sudo -u tryclj mkdir tryclojure/logs
sudo sh -c 'cat > /etc/init/tryclj.conf' <<EOT
# tryclj - Try Clojure Ring Server
#
description "TryClojure Ring Server"
start on filesystem or runlevel [2345]
stop on runlevel [!2345]
respawn
respawn limit 10 5
umask 022
#console none
exec su tryclj -s /bin/bash -c "cd /opt/tryclojure/tryclojure && lein ring server-headless"
EOT
sudo service tryclj start
apgwoz: Design
Licensed under the same thing Clojure is licensed under: the EPL, of which you can find a copy at the root of this directory.