-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathknife-solo.html
84 lines (67 loc) · 3.73 KB
/
knife-solo.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
<head>
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<!-- Enable responsiveness on mobile devices-->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<title>
octohost - Simple web focused Docker based mini-PaaS server.
</title>
<!-- CSS -->
<link rel="stylesheet" href="/css/poole.css">
<link rel="stylesheet" href="/css/syntax.css">
<link rel="stylesheet" href="/css/hyde.css">
<link rel="stylesheet" href="/css/octohost.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface">
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-12346486-7', 'octohost.io');
ga('send', 'pageview');
</script>
</head>
<body class="theme-base-0g">
<div class="sidebar">
<div class="container sidebar-sticky">
<div class="sidebar-about">
<h1>octohost</h1>
<p class="lead">Simple web focused Docker based mini-PaaS server.</p>
</div>
<div><strong>NOTE:</strong> This project is no longer actively maintained. Use <a href="https://github.com/dokku/dokku">Dokku</a> or <a href="https://github.com/kubernetes/kubernetes">Kubernetes</a>.</div>
<p> </p>
<ul class="sidebar-nav">
<li class="sidebar-nav-item"><a href="/">Home</a></li>
<li class="sidebar-nav-item"><a href="/languages.html">Languages and Frameworks</a></li>
<li class="sidebar-nav-item"><a href="/documentation.html">Documentation</a></li>
<li class="sidebar-nav-item"><a href="/screencast.html">Screencast</a></li>
<li class="sidebar-nav-item"><a href="/changelog.html">Changelog</a></li>
<li class="sidebar-nav-item"><a href="https://twitter.com/octohost">@octohost</a></li>
<li class="sidebar-nav-item"><a href="https://github.com/octohost">Github Project</a></li>
<li class="sidebar-nav-item"><a href="https://index.docker.io/u/octohost/">Docker INDEX</a></li>
</ul>
<p>© 2014 - 2106. All rights reserved.</p>
</div>
</div>
<div class="content container">
<h2>Install via Knife-Solo</h2><p>Initially contributed by <a href="https://github.com/steffenmllr">Steffen Müller</a> - added to the project as a Rake task.</p>
<ol>
<li>Clone the <a href="https://github.com/octohost/octohost-cookbook">octohost-cookbook</a> to your local machine. NOT the server you want to install it on.</li>
<li><code>cd octohost-cookbook && bundle install</code></li>
<li><code>rake knife_solo user=root ip=555.55.555.5</code> # Use your ip address.</li>
<li>Once it's done, you'll need to add your keys to the git user: <code>cat ~/.ssh/id_rsa.pub | ssh root@IP "sudo gitreceive upload-key your-name-here"</code></li>
<li>Open <code>user-data-file/setup</code> # Edit and run at least the last 2 commands.</li>
</ol>
<p>After that's setup - you can start to push sites to your octohost:</p>
<pre><code>git clone https://github.com/octohost/harp.git
cd harp
git remote add octohost git@IP:harp.git
git push octohost master
</code></pre>
<p>Send us an email at <a href="mailto:octohost@octohost.io">octohost@octohost.io</a>. Follow us on Twitter <a href="https://twitter.com/octohost">@octohost</a>.</p>
<div class="src"><a href="https://github.com/octohost/www">Website source.</a></div>
</div>
</body>
</html>