#Getting Started
##Webpage:
<html>
<head>
<title>Testing with Ruby and Selenium WebDriver</title>
</head>
<body bgcolor="antiquewhite">
#Getting Started
##Webpage:
<html>
<head>
<title>Testing with Ruby and Selenium WebDriver</title>
</head>
<body bgcolor="antiquewhite">
| $ cat Procfile | |
| foreman: foreman start -c web=1 worker=10 -f Procfile2 | |
| $ cat Procfile2 | |
| web: bundle exec rails s -p $PORT thin | |
| worker: ruby worker.rb |
| # download latest libevent2 and tmux sources, and extract them somewhere | |
| # (thx bluejedi for tip on latest tmux URL) | |
| # | |
| # at the time of writing: | |
| # https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz | |
| # http://sourceforge.net/projects/tmux/files/latest/download?source=files | |
| # | |
| # install deps | |
| yum install gcc kernel-devel make ncurses-devel |
| ... | |
| # Fake a fuse install | |
| RUN apt-get install libfuse2 | |
| RUN cd /tmp ; apt-get download fuse | |
| RUN cd /tmp ; dpkg-deb -x fuse_* . | |
| RUN cd /tmp ; dpkg-deb -e fuse_* | |
| RUN cd /tmp ; rm fuse_*.deb | |
| RUN cd /tmp ; echo -en '#!/bin/bash\nexit 0\n' > DEBIAN/postinst | |
| RUN cd /tmp ; dpkg-deb -b . /fuse.deb |
The second Strange Loop I've attended was truly an amazing conference like no other. Last year's was fantastic, but this year was just, well, you really had to be there. Even so, I'll try to give a summary of stuff that happened.
To get it out of the way now, these are the things I didn't like:
| # Erlang R16B HiPE with Rebar | |
| # | |
| # VERSION 0.0.1 | |
| FROM base | |
| MAINTAINER Son Tran-Nguyen "sntran@inhuman.io" | |
| RUN apt-get update | |
| RUN apt-get install -y git build-essential libncurses5-dev openssl libssl-dev curl | |
| # For HiPE, requires M4 |
| Framework | Link | Star | Fork | Templating |
|---|---|---|---|---|
| Python: Flask, | https://github.com/mitsuhiko/flask | 6887 | 1422 | jinja |
| Ruby: Sinatra, | https://github.com/sinatra/sinatra | 5097 | 792 |
| # Erlang R16B HiPE with Rebar | |
| # | |
| # VERSION 0.0.1 | |
| FROM base | |
| MAINTAINER Son Tran-Nguyen "sntran@inhuman.io" | |
| RUN apt-get update | |
| RUN apt-get install -y git build-essential libncurses5-dev openssl libssl-dev curl | |
| # For HiPE, requires M4 |
| #!/usr/bin/python | |
| """ | |
| This is a prepare-commit-msg hook for use with git-flow and Pivotal Tracker. | |
| Copy this file to $GITREPOSITORY/.git/hooks/prepare-commit-msg | |
| It will prepend [#<story id>] to your commit message. | |
| See https://www.pivotaltracker.com/help/api?version=v3#scm_post_commit |
Note
For the actual food for mind see https://gist.github.com/sa2ajj/5323326#file-summary-rst
This document _tries_ to outline important items that need to be covered in order to get riak running with docker.