forked from pyromaniac/hoof
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
listen to 0.0.0.0 for xip.io compat http xip.io compatible touch tmp/restart.txt to reload unicorn
- Loading branch information
Showing
7 changed files
with
202 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
|
||
Linux version of https://github.com/37signals/pow/ | ||
|
||
Compatible with Ruby 1.8.7 - ree | ||
|
||
== Installation | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.0.7 | ||
0.0.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title><%= @title %></title> | ||
<style> body { | ||
margin: 0; | ||
padding: 0; | ||
background: #e0e0d8; | ||
line-height: 18px; | ||
} | ||
|
||
div.page { | ||
margin: 72px auto; | ||
margin: 36px auto; | ||
background: #fff; | ||
border-radius: 18px; | ||
-webkit-box-shadow: 0px 2px 7px #999; | ||
-moz-box-shadow: 0px 2px 7px #999; | ||
padding: 36px 90px; | ||
width: 480px; | ||
position: relative; | ||
} | ||
|
||
.big div.page { | ||
width: 720px; | ||
} | ||
|
||
h1, h2, p, li { | ||
font-family: Helvetica, sans-serif; | ||
font-size: 13px; | ||
} | ||
|
||
h1 { | ||
line-height: 45px; | ||
font-size: 36px; | ||
margin: 0; | ||
} | ||
|
||
h1:before { | ||
font-size: 66px; | ||
line-height: 42px; | ||
position: absolute; | ||
right: 576px; | ||
} | ||
|
||
.big h1:before { | ||
right: 819px; | ||
} | ||
|
||
h1.ok { | ||
color: #060; | ||
} | ||
|
||
h1.ok:before { | ||
content: "✓"; | ||
color: #090; | ||
} | ||
|
||
h1.err { | ||
color: #600; | ||
} | ||
|
||
h1.err:before { | ||
content: "✗"; | ||
color: #900; | ||
} | ||
|
||
h2 { | ||
line-height: 27px; | ||
font-size: 18px; | ||
font-weight: normal; | ||
margin: 0; | ||
} | ||
|
||
a, pre span { | ||
color: #776; | ||
} | ||
|
||
h2, p, pre { | ||
color: #222; | ||
} | ||
|
||
pre { | ||
white-space: pre-wrap; | ||
font-size: 13px; | ||
} | ||
|
||
pre, code { | ||
font-family: Menlo, Monaco, monospace; | ||
} | ||
|
||
p code { | ||
font-size: 12px; | ||
} | ||
|
||
pre.breakout { | ||
border-top: 1px solid #ddd; | ||
border-bottom: 1px solid #ddd; | ||
background: #fafcf4; | ||
margin-left: -90px; | ||
margin-right: -90px; | ||
padding: 8px 0 8px 90px; | ||
} | ||
|
||
pre.small_text { | ||
font-size: 10px; | ||
} | ||
|
||
pre.small_text strong { | ||
font-size: 13px; | ||
} | ||
|
||
ul { | ||
padding: 0; | ||
} | ||
|
||
li { | ||
list-style-type: none; | ||
} </style> | ||
</head> | ||
<body class=""> | ||
<div class="page"> | ||
<!--CONTENTS--> | ||
<h1 class="err"><%= @title %></h1> | ||
|
||
<h2>Symlink your app to <code>~/.hoof/</code> first.</h2> | ||
<section> | ||
<p>When you access <code>http://<%= @host %><%= ":#{@port}" if @port %>/</code>, Hoof looks for a Rack application at | ||
<code>~/.hoof/</code>. To run your app at this domain:</p> | ||
<pre> | ||
<span>$</span> cd ~/.hoof<span>$</span> ln -s /path/to/myapp | ||
<span>$</span> open http://<%= @host %><%= ":#{@port}" if @port %>/ | ||
</pre> | ||
</section> | ||
<!--END CONTENTS--> | ||
<!--<ul>--> | ||
<!--<li><a href="http://pow.cx/manual">Pow User’s Manual</a></li>--> | ||
<!--<li><a href="https://github.com/37signals/pow/wiki/Troubleshooting">Troubleshooting</a></li>--> | ||
<!--<li><a href="https://github.com/37signals/pow/wiki/FAQ">Frequently Asked Questions</a></li>--> | ||
<!--<li><a href="https://github.com/37signals/pow/issues">Issue Tracker</a></li>--> | ||
<!--</ul>--> | ||
</div> | ||
</body> | ||
</html> |