Skip to content

Instantly share code, notes, and snippets.

@mimikun
Created April 8, 2019 10:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mimikun/8b8416870f03e5265cd0476717bfc492 to your computer and use it in GitHub Desktop.
Save mimikun/8b8416870f03e5265cd0476717bfc492 to your computer and use it in GitHub Desktop.
curl diary.mimikun.dev
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Application not found</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">
<h1 class="err">Application not found</h1>
<h2>Symlink your app to <code>~/.pow/diary.mimikun</code> first.</h2>
<section>
<p>When you access <code>http://diary.mimikun.dev/</code>, Pow looks for a Rack application at <code>~/.pow/diary.mimikun</code>. To run your app at this domain:</p>
<pre><span>$</span> cd ~/.pow
<span>$</span> ln -s /path/to/myapp diary.mimikun
<span>$</span> open http://diary.mimikun.dev/</pre>
</section>
<ul>
<li><a href="http://pow.cx/manual">Pow User&rsquo;s Manual</a></li>
<li><a href="https://github.com/basecamp/pow/wiki/Troubleshooting">Troubleshooting</a></li>
<li><a href="https://github.com/basecamp/pow/wiki/FAQ">Frequently Asked Questions</a></li>
<li><a href="https://github.com/basecamp/pow/issues">Issue Tracker</a></li>
</ul>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment