Help

Dozens of tricks to set, build rails apps.

Speedy

To deploy a web application navigate to the particular application root folder via terminal and simply type

<sudo speedy deploy example.local>

Hypertable

To launch Hypertable

<sudo /opt/hypertable/current/bin/start-all-servers.sh local>

To stop Hypertable

<sudo /opt/hypertable/current/bin/stop-servers.sh>

fire up an interactive session

<sudo /opt/hypertable/current/bin/ht shell>

Apache

Restart Apache 2 web server

<sudo /etc/init.d/apache2 restart>

To stop Apache 2 web server

<sudo /etc/init.d/apache2 stop>

To start Apache 2 web server

<sudo /etc/init.d/apache2 start>

Putty

Generate ppk key

<puttygen id_dsa -o id_dsa.ppk>

AWS

SSH connect

<ssh -i 3ankabout.pem ubuntu@54.84.199.5>

AMI

<ami-5ddcdd34>

TMP

clean tmp rake

<bundle exec rake tmp:clear>

clean tmp

<sudo rm -r /tmp/*>
--- !ruby/hash-with-ivars:ActionController::Parameters
elements:
  controller: homes
  action: help
ivars:
  :@permitted: false