Goatee is a web interface to Gmsh.
- Sign up for Amazon EC2.
-
Start an Ubuntu 12.04 instance with the following User Data:
#!/bin/bash set -ex function first-setup() { apt-get update apt-get install --yes git npm nodejs-legacy rubygems gmsh gem install foreman npm install -g coffee-script cd /home/ubuntu sudo -u ubuntu git clone --bare \ git://github.com/ariofrio/goatee.git } function start() { cd /home/ubuntu/goatee.git sudo -u ubuntu wget -O hooks/post-receive \ https://gist.github.com/ariofrio/3178891/raw/post-receive chmod +x hooks/post-receive sudo -Hu ubuntu hooks/post-receive } if [ ! -d /home/ubuntu/goatee.git ]; then first-setup &>> /var/log/goatee-setup.log fi start &>> /var/log/goatee-setup.log
If you haven't yet, create a new Key Pair and download it. You will need it to access the instance if it fails, and to update its software.
Finally, if you haven't yet, you'll need to create a new Security Group: add an SSH rule and an HTTP rule.
After 5 minutes, open the app by visiting the Public DNS or a Public IP.
The setup script logs to /var/log/goatee-setup.log
. The app logs to
/tmp/goatee-PORT-XXXXXX.log
.