leanback 0.4.2 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.travis.yml +10 -0
- data/Gemfile +5 -6
- data/Gemfile.lock +65 -14
- data/README.md +465 -33
- data/Rakefile +8 -17
- data/VERSION +1 -1
- data/leanback.gemspec +26 -85
- data/lib/leanback.rb +129 -587
- data/spec/leanback_spec.rb +356 -0
- metadata +40 -117
- data/Changelog.rdoc +0 -146
- data/documentation/static/2011/11/20/i-moved-leanback-documentation/index.html +0 -180
- data/documentation/static/2011/11/20/index.html +0 -146
- data/documentation/static/2011/11/index.html +0 -146
- data/documentation/static/2011/index.html +0 -146
- data/documentation/static/2013/06/02/index.html +0 -146
- data/documentation/static/2013/06/02/released-leanback-v0-3-4/index.html +0 -180
- data/documentation/static/2013/06/09/index.html +0 -146
- data/documentation/static/2013/06/09/released-leanback-v0-4-0/index.html +0 -179
- data/documentation/static/2013/06/index.html +0 -158
- data/documentation/static/2013/index.html +0 -158
- data/documentation/static/author/admin/index.html +0 -175
- data/documentation/static/basic-couchdb-operations/index.html +0 -259
- data/documentation/static/category/uncategorized/index.html +0 -170
- data/documentation/static/couchdb-configuration/index.html +0 -189
- data/documentation/static/couchdb-security/index.html +0 -218
- data/documentation/static/count-by-multiple-documents/index.html +0 -221
- data/documentation/static/count-documents-by-key/index.html +0 -177
- data/documentation/static/css/2c-l-fixed.css +0 -1
- data/documentation/static/css/2c-l-fixed.dev.css +0 -62
- data/documentation/static/css/2c-r-fixed.css +0 -1
- data/documentation/static/css/2c-r-fixed.dev.css +0 -60
- data/documentation/static/css/3c-c-fixed.css +0 -1
- data/documentation/static/css/3c-c-fixed.dev.css +0 -84
- data/documentation/static/css/3c-l-fixed.css +0 -1
- data/documentation/static/css/3c-l-fixed.dev.css +0 -61
- data/documentation/static/css/3c-r-fixed.css +0 -1
- data/documentation/static/css/3c-r-fixed.dev.css +0 -62
- data/documentation/static/css/holy-grail-fluid.css +0 -5
- data/documentation/static/css/plugins.css +0 -5
- data/documentation/static/css/print.css +0 -5
- data/documentation/static/css/screen.css +0 -1
- data/documentation/static/design-documents-and-permanent-views/index.html +0 -454
- data/documentation/static/error-handling/index.html +0 -157
- data/documentation/static/find-document-by-multiple-keys/index.html +0 -269
- data/documentation/static/find-documents-by-key/index.html +0 -243
- data/documentation/static/index.html +0 -161
- data/documentation/static/leanback/index.html +0 -130
- data/documentation/static/leanback/installation/index.html +0 -119
- data/documentation/static/setting-the-bind_address-port/index.html +0 -151
- data/documentation/static/style.css +0 -16
- data/spec/admin_party/database_spec.rb +0 -400
- data/spec/no_admin_party/cloudant_spec.rb +0 -365
- data/spec/no_admin_party/database_spec.rb +0 -491
- data/spec/no_admin_party/non_admin_user_spec.rb +0 -67
- data/test/helper.rb +0 -18
- data/test/main.rb +0 -295
- data/test/my_view.json +0 -8
- data/test/my_views.json +0 -8
- data/test/start.json +0 -8
- data/test/test_leanback.rb +0 -319
- data/test/view_age.json +0 -8
@@ -1,161 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html lang="en-US">
|
3
|
-
<head>
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
5
|
-
<title>Leanback: Simple Ruby interface to CouchDB</title>
|
6
|
-
|
7
|
-
<link rel="stylesheet" href="http://www.whisperservers.com/leanback/wp-content/themes/hybrid/style.css" type="text/css" media="all" />
|
8
|
-
<link rel="profile" href="http://gmpg.org/xfn/11" />
|
9
|
-
<link rel="pingback" href="http://www.whisperservers.com/leanback/xmlrpc.php" />
|
10
|
-
|
11
|
-
<meta name="generator" content="WordPress 3.5.1 - really-static 0.5" />
|
12
|
-
<meta name="template" content="Hybrid 1.0" />
|
13
|
-
<meta name="robots" content="index,follow" />
|
14
|
-
<meta name="copyright" content="Copyright (c) 2013" />
|
15
|
-
<meta name="description" content="Simple Ruby interface to CouchDB" />
|
16
|
-
<link rel="alternate" type="application/rss+xml" title="Leanback » Feed" href="http://www.whisperservers.com/leanback/feed/" />
|
17
|
-
<link rel="alternate" type="application/rss+xml" title="Leanback » Comments Feed" href="http://www.whisperservers.com/leanback/comments/feed/" />
|
18
|
-
<script type='text/javascript' src='http://www.whisperservers.com/leanback/wp-includes/js/jquery/jquery.js?ver=1.8.3'></script>
|
19
|
-
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.whisperservers.com/leanback/xmlrpc.php?rsd" />
|
20
|
-
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://www.whisperservers.com/leanback/wp-includes/wlwmanifest.xml" />
|
21
|
-
|
22
|
-
<link rel="stylesheet" href="http://www.whisperservers.com/leanback/wp-content/plugins/wp-syntax/wp-syntax.css" type="text/css" media="screen" />
|
23
|
-
|
24
|
-
</head>
|
25
|
-
|
26
|
-
<body class="wordpress ltr en_US parent-theme y2013 m06 d09 h16 sunday logged-out home blog primary-active secondary-inactive subsidiary-inactive">
|
27
|
-
|
28
|
-
|
29
|
-
<div id="body-container">
|
30
|
-
|
31
|
-
|
32
|
-
<div id="header-container">
|
33
|
-
|
34
|
-
<div id="header">
|
35
|
-
|
36
|
-
<h1 id="site-title"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/" title="Leanback" rel="home"><span>Leanback</span></a></h1>
|
37
|
-
<h2 id="site-description"><span>Simple Ruby interface to CouchDB</span></h2>
|
38
|
-
|
39
|
-
</div><!-- #header -->
|
40
|
-
|
41
|
-
</div><!-- #header-container -->
|
42
|
-
|
43
|
-
|
44
|
-
<div id="container">
|
45
|
-
|
46
|
-
|
47
|
-
<div id="content" class="hfeed content">
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
<div id="post-177" class="hentry post publish post-1 odd author-admin category-uncategorized">
|
52
|
-
|
53
|
-
<h2 class="entry-title"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/2013/06/09/released-leanback-v0-4-0/" title="Released leanback v0.4.0" rel="bookmark">Released leanback v0.4.0</a></h2><p class="byline">By <span class="author vcard"><a class="url fn n" href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/author/admin/" title="admin">admin</a></span> on <abbr class="published" title="Sunday, June 9th, 2013, 3:43 pm">June 9, 2013</abbr> </p>
|
54
|
-
<div class="entry-content">
|
55
|
-
<p>Just released leanback v0.4.0. See the changelog for new changes. </p>
|
56
|
-
</div><!-- .entry-content -->
|
57
|
-
|
58
|
-
<p class="entry-meta"><span class="category"><span class="before">Posted in </span><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/category/uncategorized/" rel="tag">Uncategorized</a></span> | <a class="comments-link" href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/2013/06/09/released-leanback-v0-4-0/#respond" title="Comment on Released leanback v0.4.0">Leave a response</a></p>
|
59
|
-
</div><!-- .hentry -->
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
<div id="post-159" class="hentry post publish post-2 even alt author-admin category-uncategorized">
|
64
|
-
|
65
|
-
<h2 class="entry-title"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/2013/06/02/released-leanback-v0-3-4/" title="Released leanback v0.3.4" rel="bookmark">Released leanback v0.3.4</a></h2><p class="byline">By <span class="author vcard"><a class="url fn n" href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/author/admin/" title="admin">admin</a></span> on <abbr class="published" title="Sunday, June 2nd, 2013, 6:24 pm">June 2, 2013</abbr> </p>
|
66
|
-
<div class="entry-content">
|
67
|
-
<p>Just released leanback v0.3.4. See the changelog for new changes. </p>
|
68
|
-
</div><!-- .entry-content -->
|
69
|
-
|
70
|
-
<p class="entry-meta"><span class="category"><span class="before">Posted in </span><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/category/uncategorized/" rel="tag">Uncategorized</a></span> | <a class="comments-link" href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/2013/06/02/released-leanback-v0-3-4/#respond" title="Comment on Released leanback v0.3.4">Leave a response</a></p>
|
71
|
-
</div><!-- .hentry -->
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
<div id="post-113" class="hentry post publish post-3 odd author-admin category-uncategorized">
|
76
|
-
|
77
|
-
<h2 class="entry-title"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/2011/11/20/i-moved-leanback-documentation/" title="Welcome to the new site" rel="bookmark">Welcome to the new site</a></h2><p class="byline">By <span class="author vcard"><a class="url fn n" href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/author/admin/" title="admin">admin</a></span> on <abbr class="published" title="Sunday, November 20th, 2011, 10:48 pm">November 20, 2011</abbr> </p>
|
78
|
-
<div class="entry-content">
|
79
|
-
<p>This is the new location for Leanback RubyGem’s documentation. I moved it here, to support the release of v0.3.0. </p>
|
80
|
-
<p>A README file format wouldn’t be sufficient anymore. So I decided to move the documentation over here, to make it more accessible.</p>
|
81
|
-
</div><!-- .entry-content -->
|
82
|
-
|
83
|
-
<p class="entry-meta"><span class="category"><span class="before">Posted in </span><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/category/uncategorized/" rel="tag">Uncategorized</a></span> | <a class="comments-link" href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/2011/11/20/i-moved-leanback-documentation/#respond" title="Comment on Welcome to the new site">Leave a response</a></p>
|
84
|
-
</div><!-- .hentry -->
|
85
|
-
|
86
|
-
|
87
|
-
<script type="text/javascript">
|
88
|
-
// <![CDATA[
|
89
|
-
var disqus_shortname = 'obi-akubue';
|
90
|
-
var disqus_domain = 'disqus.com';
|
91
|
-
(function () {
|
92
|
-
var nodes = document.getElementsByTagName('span');
|
93
|
-
for (var i = 0, url; i < nodes.length; i++) {
|
94
|
-
if (nodes[i].className.indexOf('dsq-postid') != -1) {
|
95
|
-
nodes[i].parentNode.setAttribute('data-disqus-identifier', nodes[i].getAttribute('rel'));
|
96
|
-
url = nodes[i].parentNode.href.split('#', 1);
|
97
|
-
if (url.length == 1) { url = url[0]; }
|
98
|
-
else { url = url[1]; }
|
99
|
-
nodes[i].parentNode.href = url + '#disqus_thread';
|
100
|
-
}
|
101
|
-
}
|
102
|
-
var s = document.createElement('script'); s.async = true;
|
103
|
-
s.type = 'text/javascript';
|
104
|
-
s.src = 'http://' + disqus_domain + '/forums/' + disqus_shortname + '/count.js';
|
105
|
-
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
106
|
-
}());
|
107
|
-
//]]>
|
108
|
-
</script>
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
</div><!-- .content .hfeed -->
|
114
|
-
|
115
|
-
|
116
|
-
<div id="primary" class="sidebar aside">
|
117
|
-
|
118
|
-
|
119
|
-
<div id="hybrid-nav-menu-3" class="widget nav-menu widget-nav-menu"><div class="widget-wrap widget-inside"><h3 class="widget-title">Leanback</h3><div class="menu-sidebar-container"><ul id="menu-sidebar" class="nav-menu"><li id="menu-item-13" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/leanback/">Leanback</a><ul class="sub-menu"><li id="menu-item-14" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-14"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/leanback/installation/">Install</a></li><li id="menu-item-15" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-15"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/basic-couchdb-operations/">Basic CouchDB Operations</a></li><li id="menu-item-41" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-41"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/find-documents-by-key/">Find documents by key</a></li><li id="menu-item-167" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-167"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/find-document-by-multiple-keys/">Find document by multiple Keys</a></li><li id="menu-item-140" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-140"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/count-documents-by-key/">Count documents by key</a></li><li id="menu-item-175" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-175"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/count-by-multiple-documents/">Count documents by multiple keys</a></li><li id="menu-item-45" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-45"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/design-documents-and-permanent-views/">Working with CouchDB views</a></li><li id="menu-item-67" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-67"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/error-handling/">Error handling</a></li><li id="menu-item-96" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-96"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/couchdb-configuration/">CouchDB Configuration</a></li><li id="menu-item-102" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-102"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/couchdb-security/">CouchDB Security</a></li><li id="menu-item-105" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-105"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/setting-the-bind_address-port/">CouchDB Bind_Address & Port</a></li></ul></li><li id="menu-item-142" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-142"><a href="https://github.com/obi-a/leanback/blob/master/Changelog.rdoc">Changes</a></li><li id="menu-item-78" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-78"><a href="https://github.com/obi-a/leanback">Source Code</a></li></ul></div></div></div>
|
120
|
-
|
121
|
-
</div><!-- #primary .aside -->
|
122
|
-
|
123
|
-
|
124
|
-
</div><!-- #container -->
|
125
|
-
|
126
|
-
<div id="footer-container">
|
127
|
-
|
128
|
-
|
129
|
-
<div id="footer">
|
130
|
-
|
131
|
-
<div class="footer-insert"><p class="copyright">Copyright © 2013 <a href="http://obi-akubue.org">obi-akubue.org</a>.</p></div>
|
132
|
-
</div><!-- #footer -->
|
133
|
-
|
134
|
-
|
135
|
-
</div><!-- #footer-container -->
|
136
|
-
|
137
|
-
</div><!-- #body-container -->
|
138
|
-
|
139
|
-
|
140
|
-
<script type="text/javascript">
|
141
|
-
|
142
|
-
var _gaq = _gaq || [];
|
143
|
-
_gaq.push(['_setAccount', 'UA-20190925-6']);
|
144
|
-
_gaq.push(['_trackPageview']);
|
145
|
-
|
146
|
-
(function() {
|
147
|
-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
148
|
-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
149
|
-
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);
|
150
|
-
})();
|
151
|
-
</script>
|
152
|
-
|
153
|
-
<a style='color:transparent;position:absolute;left:-99999px;z-index:-99999' href='http://www.wpdownloadmanager.com/' title='Premium Wordpress Plugin download manager'>Premium Wordpress Plugin</a>
|
154
|
-
<script type='text/javascript' src='http://www.whisperservers.com/leanback/wp-content/themes/hybrid/library/js/drop-downs.js?ver=20110705'></script>
|
155
|
-
|
156
|
-
</body>
|
157
|
-
</html>
|
158
|
-
<!-- Dynamic page generated in 0.394 seconds. -->
|
159
|
-
<!-- Cached page generated by WP-Super-Cache on 2013-06-09 16:00:24 -->
|
160
|
-
|
161
|
-
<!-- super cache -->
|
@@ -1,130 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html lang="en-US">
|
3
|
-
<head>
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
5
|
-
<title>Leanback</title>
|
6
|
-
|
7
|
-
<link rel="stylesheet" href="http://www.whisperservers.com/leanback/wp-content/themes/hybrid/style.css" type="text/css" media="all" />
|
8
|
-
<link rel="profile" href="http://gmpg.org/xfn/11" />
|
9
|
-
<link rel="pingback" href="http://www.whisperservers.com/leanback/xmlrpc.php" />
|
10
|
-
|
11
|
-
<meta name="generator" content="WordPress 3.5.1 - really-static 0.5" />
|
12
|
-
<meta name="template" content="Hybrid 1.0" />
|
13
|
-
<meta name="robots" content="index,follow" />
|
14
|
-
<meta name="author" content="admin" />
|
15
|
-
<meta name="copyright" content="Copyright (c) November 2011" />
|
16
|
-
<meta name="revised" content="Monday, June 3rd, 2013, 10:44 pm" />
|
17
|
-
<link rel="alternate" type="application/rss+xml" title="Leanback » Feed" href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/feed/" />
|
18
|
-
|
19
|
-
<script type='text/javascript' src='http://www.whisperservers.com/leanback/wp-includes/js/jquery/jquery.js?ver=1.8.3'></script>
|
20
|
-
<link rel='next' title='Install' href='http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/leanback/installation/' />
|
21
|
-
<link rel='canonical' href='http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/leanback/' />
|
22
|
-
|
23
|
-
<link rel="stylesheet" href="http://www.whisperservers.com/leanback/wp-content/plugins/wp-syntax/wp-syntax.css" type="text/css" media="screen" />
|
24
|
-
|
25
|
-
</head>
|
26
|
-
|
27
|
-
<body class="wordpress ltr en_US parent-theme y2013 m06 d09 h16 sunday logged-out singular singular-page singular-page-5 page-template-default page-5 primary-active secondary-inactive subsidiary-inactive">
|
28
|
-
|
29
|
-
|
30
|
-
<div id="body-container">
|
31
|
-
|
32
|
-
|
33
|
-
<div id="header-container">
|
34
|
-
|
35
|
-
<div id="header">
|
36
|
-
|
37
|
-
<div id="site-title"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/" title="Leanback" rel="home"><span>Leanback</span></a></div>
|
38
|
-
<div id="site-description"><span>Simple Ruby interface to CouchDB</span></div>
|
39
|
-
|
40
|
-
</div><!-- #header -->
|
41
|
-
|
42
|
-
</div><!-- #header-container -->
|
43
|
-
|
44
|
-
|
45
|
-
<div id="container">
|
46
|
-
|
47
|
-
|
48
|
-
<div id="content" class="hfeed content">
|
49
|
-
|
50
|
-
<div class="breadcrumb breadcrumbs"><div class="breadcrumb-trail"><span class="trail-before"><span class="breadcrumb-title">Browse:</span></span> <a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/" title="Leanback" rel="home" class="trail-begin">Home</a> <span class="sep">/</span> <span class="trail-end">Leanback</span></div></div>
|
51
|
-
|
52
|
-
<div id="post-5" class="hentry page publish post-1 odd author-admin">
|
53
|
-
|
54
|
-
<h1 class="page-title entry-title"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/leanback/" title="Leanback" rel="bookmark">Leanback</a></h1>
|
55
|
-
<div class="entry-content">
|
56
|
-
<p>–This project is still under development. Not complete by any means. I made this Gem to use in my projects. I will expose more CouchDB features soon.</p>
|
57
|
-
<p><strong>Goals</strong></p>
|
58
|
-
<ul>
|
59
|
-
<li>To create a simple Ruby Interface to CouchDB</li>
|
60
|
-
<li>Expose the features of CouchDB to the Ruby Lang.,</li>
|
61
|
-
<li>Use a minimalist Ruby DSL to access CouchDB</li>
|
62
|
-
<li>provide a very easy way to persist and retrieve data</li>
|
63
|
-
</ul>
|
64
|
-
<p><strong>Tested and developed on</strong><br />
|
65
|
-
Ruby 1.9.3<br />
|
66
|
-
CouchDB 1.2.0<br />
|
67
|
-
Ubuntu 13.04</p>
|
68
|
-
<p><strong>License</strong><br />
|
69
|
-
MIT License.<br />
|
70
|
-
Copyright (c) 2013 Obi Akubue, obi-akubue.org</p>
|
71
|
-
</div><!-- .entry-content -->
|
72
|
-
|
73
|
-
|
74
|
-
</div><!-- .hentry -->
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
</div><!-- .content .hfeed -->
|
83
|
-
|
84
|
-
|
85
|
-
<div id="primary" class="sidebar aside">
|
86
|
-
|
87
|
-
|
88
|
-
<div id="hybrid-nav-menu-3" class="widget nav-menu widget-nav-menu"><div class="widget-wrap widget-inside"><h3 class="widget-title">Leanback</h3><div class="menu-sidebar-container"><ul id="menu-sidebar" class="nav-menu"><li id="menu-item-13" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-5 current_page_item menu-item-13"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/leanback/">Leanback</a><ul class="sub-menu"><li id="menu-item-14" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-14"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/leanback/installation/">Install</a></li><li id="menu-item-15" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-15"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/basic-couchdb-operations/">Basic CouchDB Operations</a></li><li id="menu-item-41" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-41"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/find-documents-by-key/">Find documents by key</a></li><li id="menu-item-167" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-167"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/find-document-by-multiple-keys/">Find document by multiple Keys</a></li><li id="menu-item-140" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-140"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/count-documents-by-key/">Count documents by key</a></li><li id="menu-item-175" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-175"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/count-by-multiple-documents/">Count documents by multiple keys</a></li><li id="menu-item-45" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-45"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/design-documents-and-permanent-views/">Working with CouchDB views</a></li><li id="menu-item-67" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-67"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/error-handling/">Error handling</a></li><li id="menu-item-96" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-96"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/couchdb-configuration/">CouchDB Configuration</a></li><li id="menu-item-102" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-102"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/couchdb-security/">CouchDB Security</a></li><li id="menu-item-105" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-105"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/setting-the-bind_address-port/">CouchDB Bind_Address & Port</a></li></ul></li><li id="menu-item-142" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-142"><a href="https://github.com/obi-a/leanback/blob/master/Changelog.rdoc">Changes</a></li><li id="menu-item-78" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-78"><a href="https://github.com/obi-a/leanback">Source Code</a></li></ul></div></div></div>
|
89
|
-
|
90
|
-
</div><!-- #primary .aside -->
|
91
|
-
|
92
|
-
|
93
|
-
</div><!-- #container -->
|
94
|
-
|
95
|
-
<div id="footer-container">
|
96
|
-
|
97
|
-
|
98
|
-
<div id="footer">
|
99
|
-
|
100
|
-
<div class="footer-insert"><p class="copyright">Copyright © 2013 <a href="http://obi-akubue.org">obi-akubue.org</a>.</p></div>
|
101
|
-
</div><!-- #footer -->
|
102
|
-
|
103
|
-
|
104
|
-
</div><!-- #footer-container -->
|
105
|
-
|
106
|
-
</div><!-- #body-container -->
|
107
|
-
|
108
|
-
|
109
|
-
<script type="text/javascript">
|
110
|
-
|
111
|
-
var _gaq = _gaq || [];
|
112
|
-
_gaq.push(['_setAccount', 'UA-20190925-6']);
|
113
|
-
_gaq.push(['_trackPageview']);
|
114
|
-
|
115
|
-
(function() {
|
116
|
-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
117
|
-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
118
|
-
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);
|
119
|
-
})();
|
120
|
-
</script>
|
121
|
-
|
122
|
-
<a style='color:transparent;position:absolute;left:-99999px;z-index:-99999' href='http://www.wpdownloadmanager.com/' title='Premium Wordpress Plugin download manager'>Premium Wordpress Plugin</a>
|
123
|
-
<script type='text/javascript' src='http://www.whisperservers.com/leanback/wp-content/themes/hybrid/library/js/drop-downs.js?ver=20110705'></script>
|
124
|
-
|
125
|
-
</body>
|
126
|
-
</html>
|
127
|
-
<!-- Dynamic page generated in 0.531 seconds. -->
|
128
|
-
<!-- Cached page generated by WP-Super-Cache on 2013-06-09 16:30:56 -->
|
129
|
-
|
130
|
-
<!-- super cache -->
|
@@ -1,119 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html lang="en-US">
|
3
|
-
<head>
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
5
|
-
<title>Install</title>
|
6
|
-
|
7
|
-
<link rel="stylesheet" href="http://www.whisperservers.com/leanback/wp-content/themes/hybrid/style.css" type="text/css" media="all" />
|
8
|
-
<link rel="profile" href="http://gmpg.org/xfn/11" />
|
9
|
-
<link rel="pingback" href="http://www.whisperservers.com/leanback/xmlrpc.php" />
|
10
|
-
|
11
|
-
<meta name="generator" content="WordPress 3.5.1 - really-static 0.5" />
|
12
|
-
<meta name="template" content="Hybrid 1.0" />
|
13
|
-
<meta name="robots" content="index,follow" />
|
14
|
-
<meta name="author" content="admin" />
|
15
|
-
<meta name="copyright" content="Copyright (c) November 2011" />
|
16
|
-
<meta name="revised" content="Sunday, November 20th, 2011, 3:27 am" />
|
17
|
-
<link rel="alternate" type="application/rss+xml" title="Leanback » Feed" href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/feed/" />
|
18
|
-
|
19
|
-
<script type='text/javascript' src='http://www.whisperservers.com/leanback/wp-includes/js/jquery/jquery.js?ver=1.8.3'></script>
|
20
|
-
<link rel='prev' title='Leanback' href='http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/leanback/' />
|
21
|
-
<link rel='next' title='Basic CouchDB Operations' href='http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/basic-couchdb-operations/' />
|
22
|
-
<link rel='canonical' href='http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/leanback/installation/' />
|
23
|
-
|
24
|
-
<link rel="stylesheet" href="http://www.whisperservers.com/leanback/wp-content/plugins/wp-syntax/wp-syntax.css" type="text/css" media="screen" />
|
25
|
-
|
26
|
-
</head>
|
27
|
-
|
28
|
-
<body class="wordpress ltr en_US parent-theme y2013 m06 d09 h16 sunday logged-out singular singular-page singular-page-7 page-template-default page-7 primary-active secondary-inactive subsidiary-inactive">
|
29
|
-
|
30
|
-
|
31
|
-
<div id="body-container">
|
32
|
-
|
33
|
-
|
34
|
-
<div id="header-container">
|
35
|
-
|
36
|
-
<div id="header">
|
37
|
-
|
38
|
-
<div id="site-title"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/" title="Leanback" rel="home"><span>Leanback</span></a></div>
|
39
|
-
<div id="site-description"><span>Simple Ruby interface to CouchDB</span></div>
|
40
|
-
|
41
|
-
</div><!-- #header -->
|
42
|
-
|
43
|
-
</div><!-- #header-container -->
|
44
|
-
|
45
|
-
|
46
|
-
<div id="container">
|
47
|
-
|
48
|
-
|
49
|
-
<div id="content" class="hfeed content">
|
50
|
-
|
51
|
-
<div class="breadcrumb breadcrumbs"><div class="breadcrumb-trail"><span class="trail-before"><span class="breadcrumb-title">Browse:</span></span> <a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/" title="Leanback" rel="home" class="trail-begin">Home</a> <span class="sep">/</span> <a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/leanback/" title="Leanback">Leanback</a> <span class="sep">/</span> <span class="trail-end">Install</span></div></div>
|
52
|
-
|
53
|
-
<div id="post-7" class="hentry page publish post-1 odd author-admin">
|
54
|
-
|
55
|
-
<h1 class="page-title entry-title"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/leanback/installation/" title="Install" rel="bookmark">Install</a></h1>
|
56
|
-
<div class="entry-content">
|
57
|
-
|
58
|
-
<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">gem install leanback</pre></div></div>
|
59
|
-
|
60
|
-
</div><!-- .entry-content -->
|
61
|
-
|
62
|
-
|
63
|
-
</div><!-- .hentry -->
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
</div><!-- .content .hfeed -->
|
72
|
-
|
73
|
-
|
74
|
-
<div id="primary" class="sidebar aside">
|
75
|
-
|
76
|
-
|
77
|
-
<div id="hybrid-nav-menu-3" class="widget nav-menu widget-nav-menu"><div class="widget-wrap widget-inside"><h3 class="widget-title">Leanback</h3><div class="menu-sidebar-container"><ul id="menu-sidebar" class="nav-menu"><li id="menu-item-13" class="menu-item menu-item-type-post_type menu-item-object-page current-page-ancestor current-menu-ancestor current-menu-parent current-page-parent current_page_parent current_page_ancestor menu-item-13"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/leanback/">Leanback</a><ul class="sub-menu"><li id="menu-item-14" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-7 current_page_item menu-item-14"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/leanback/installation/">Install</a></li><li id="menu-item-15" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-15"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/basic-couchdb-operations/">Basic CouchDB Operations</a></li><li id="menu-item-41" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-41"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/find-documents-by-key/">Find documents by key</a></li><li id="menu-item-167" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-167"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/find-document-by-multiple-keys/">Find document by multiple Keys</a></li><li id="menu-item-140" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-140"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/count-documents-by-key/">Count documents by key</a></li><li id="menu-item-175" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-175"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/count-by-multiple-documents/">Count documents by multiple keys</a></li><li id="menu-item-45" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-45"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/design-documents-and-permanent-views/">Working with CouchDB views</a></li><li id="menu-item-67" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-67"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/error-handling/">Error handling</a></li><li id="menu-item-96" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-96"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/couchdb-configuration/">CouchDB Configuration</a></li><li id="menu-item-102" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-102"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/couchdb-security/">CouchDB Security</a></li><li id="menu-item-105" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-105"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/setting-the-bind_address-port/">CouchDB Bind_Address & Port</a></li></ul></li><li id="menu-item-142" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-142"><a href="https://github.com/obi-a/leanback/blob/master/Changelog.rdoc">Changes</a></li><li id="menu-item-78" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-78"><a href="https://github.com/obi-a/leanback">Source Code</a></li></ul></div></div></div>
|
78
|
-
|
79
|
-
</div><!-- #primary .aside -->
|
80
|
-
|
81
|
-
|
82
|
-
</div><!-- #container -->
|
83
|
-
|
84
|
-
<div id="footer-container">
|
85
|
-
|
86
|
-
|
87
|
-
<div id="footer">
|
88
|
-
|
89
|
-
<div class="footer-insert"><p class="copyright">Copyright © 2013 <a href="http://obi-akubue.org">obi-akubue.org</a>.</p></div>
|
90
|
-
</div><!-- #footer -->
|
91
|
-
|
92
|
-
|
93
|
-
</div><!-- #footer-container -->
|
94
|
-
|
95
|
-
</div><!-- #body-container -->
|
96
|
-
|
97
|
-
|
98
|
-
<script type="text/javascript">
|
99
|
-
|
100
|
-
var _gaq = _gaq || [];
|
101
|
-
_gaq.push(['_setAccount', 'UA-20190925-6']);
|
102
|
-
_gaq.push(['_trackPageview']);
|
103
|
-
|
104
|
-
(function() {
|
105
|
-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
106
|
-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
107
|
-
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);
|
108
|
-
})();
|
109
|
-
</script>
|
110
|
-
|
111
|
-
<a style='color:transparent;position:absolute;left:-99999px;z-index:-99999' href='http://www.wpdownloadmanager.com/' title='Premium Wordpress Plugin download manager'>Premium Wordpress Plugin</a>
|
112
|
-
<script type='text/javascript' src='http://www.whisperservers.com/leanback/wp-content/themes/hybrid/library/js/drop-downs.js?ver=20110705'></script>
|
113
|
-
|
114
|
-
</body>
|
115
|
-
</html>
|
116
|
-
<!-- Dynamic page generated in 0.518 seconds. -->
|
117
|
-
<!-- Cached page generated by WP-Super-Cache on 2013-06-09 16:30:57 -->
|
118
|
-
|
119
|
-
<!-- super cache -->
|
@@ -1,151 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html lang="en-US">
|
3
|
-
<head>
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
5
|
-
<title>CouchDB Bind_Address & Port</title>
|
6
|
-
|
7
|
-
<link rel="stylesheet" href="http://www.whisperservers.com/leanback/wp-content/themes/hybrid/style.css" type="text/css" media="all" />
|
8
|
-
<link rel="profile" href="http://gmpg.org/xfn/11" />
|
9
|
-
<link rel="pingback" href="http://www.whisperservers.com/leanback/xmlrpc.php" />
|
10
|
-
|
11
|
-
<meta name="generator" content="WordPress 3.5.1 - really-static 0.5" />
|
12
|
-
<meta name="template" content="Hybrid 1.0" />
|
13
|
-
<meta name="robots" content="index,follow" />
|
14
|
-
<meta name="author" content="admin" />
|
15
|
-
<meta name="copyright" content="Copyright (c) November 2011" />
|
16
|
-
<meta name="revised" content="Sunday, November 20th, 2011, 10:39 pm" />
|
17
|
-
<link rel="alternate" type="application/rss+xml" title="Leanback » Feed" href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/feed/" />
|
18
|
-
|
19
|
-
<script type='text/javascript' src='http://www.whisperservers.com/leanback/wp-includes/js/jquery/jquery.js?ver=1.8.3'></script>
|
20
|
-
<link rel='prev' title='CouchDB Security' href='http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/couchdb-security/' />
|
21
|
-
<link rel='next' title='Count documents by key' href='http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/count-documents-by-key/' />
|
22
|
-
<link rel='canonical' href='http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/setting-the-bind_address-port/' />
|
23
|
-
|
24
|
-
<link rel="stylesheet" href="http://www.whisperservers.com/leanback/wp-content/plugins/wp-syntax/wp-syntax.css" type="text/css" media="screen" />
|
25
|
-
|
26
|
-
</head>
|
27
|
-
|
28
|
-
<body class="wordpress ltr en_US parent-theme y2013 m06 d09 h16 sunday logged-out singular singular-page singular-page-103 page-template-default page-103 primary-active secondary-inactive subsidiary-inactive">
|
29
|
-
|
30
|
-
|
31
|
-
<div id="body-container">
|
32
|
-
|
33
|
-
|
34
|
-
<div id="header-container">
|
35
|
-
|
36
|
-
<div id="header">
|
37
|
-
|
38
|
-
<div id="site-title"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/" title="Leanback" rel="home"><span>Leanback</span></a></div>
|
39
|
-
<div id="site-description"><span>Simple Ruby interface to CouchDB</span></div>
|
40
|
-
|
41
|
-
</div><!-- #header -->
|
42
|
-
|
43
|
-
</div><!-- #header-container -->
|
44
|
-
|
45
|
-
|
46
|
-
<div id="container">
|
47
|
-
|
48
|
-
|
49
|
-
<div id="content" class="hfeed content">
|
50
|
-
|
51
|
-
<div class="breadcrumb breadcrumbs"><div class="breadcrumb-trail"><span class="trail-before"><span class="breadcrumb-title">Browse:</span></span> <a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/" title="Leanback" rel="home" class="trail-begin">Home</a> <span class="sep">/</span> <span class="trail-end">CouchDB Bind_Address & Port</span></div></div>
|
52
|
-
|
53
|
-
<div id="post-103" class="hentry page publish post-1 odd author-admin">
|
54
|
-
|
55
|
-
<h1 class="page-title entry-title"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/setting-the-bind_address-port/" title="CouchDB Bind_Address & Port" rel="bookmark">CouchDB Bind_Address & Port</a></h1>
|
56
|
-
<div class="entry-content">
|
57
|
-
<p>To change the bind address</p>
|
58
|
-
|
59
|
-
<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">data = <span style="color:#006600; font-weight:bold;">{</span>:section <span style="color:#006600; font-weight:bold;">=></span> <span style="color:#996600;">"httpd"</span>,
|
60
|
-
<span style="color:#ff3333; font-weight:bold;">:key</span> <span style="color:#006600; font-weight:bold;">=></span> <span style="color:#996600;">"bind_address"</span>,
|
61
|
-
<span style="color:#ff3333; font-weight:bold;">:value</span> <span style="color:#006600; font-weight:bold;">=></span> <span style="color:#996600;">"192.168.1.118"</span><span style="color:#006600; font-weight:bold;">}</span>
|
62
|
-
|
63
|
-
Couchdb.<span style="color:#9900CC;">set_config</span><span style="color:#006600; font-weight:bold;">(</span>data, auth_session<span style="color:#006600; font-weight:bold;">)</span></pre></div></div>
|
64
|
-
|
65
|
-
<p>This only changes CouchDB’s bind_address, it doesn’t change the address used by Leanback to make http requests. Leanback uses ’127.0.0.1′ by default, to change Leanback’s address:</p>
|
66
|
-
|
67
|
-
<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">Couchdb.<span style="color:#9900CC;">address</span> = <span style="color:#996600;">"192.168.1.118"</span></pre></div></div>
|
68
|
-
|
69
|
-
<p>This means that Leanback will use the address “192.168.118″ to make all future requests.</p>
|
70
|
-
<p>The complete code for changing the bind address will be:</p>
|
71
|
-
|
72
|
-
<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">data = <span style="color:#006600; font-weight:bold;">{</span>:section <span style="color:#006600; font-weight:bold;">=></span> <span style="color:#996600;">"httpd"</span>,
|
73
|
-
<span style="color:#ff3333; font-weight:bold;">:key</span> <span style="color:#006600; font-weight:bold;">=></span> <span style="color:#996600;">"bind_address"</span>,
|
74
|
-
<span style="color:#ff3333; font-weight:bold;">:value</span> <span style="color:#006600; font-weight:bold;">=></span> <span style="color:#996600;">"192.168.1.118"</span><span style="color:#006600; font-weight:bold;">}</span>
|
75
|
-
|
76
|
-
Couchdb.<span style="color:#9900CC;">set_config</span><span style="color:#006600; font-weight:bold;">(</span>data, auth_session<span style="color:#006600; font-weight:bold;">)</span>
|
77
|
-
Couchdb.<span style="color:#9900CC;">address</span> = <span style="color:#996600;">"192.168.1.118"</span></pre></div></div>
|
78
|
-
|
79
|
-
<p>To change the port#</p>
|
80
|
-
|
81
|
-
<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">data = <span style="color:#006600; font-weight:bold;">{</span>:section <span style="color:#006600; font-weight:bold;">=></span> <span style="color:#996600;">"httpd"</span>,
|
82
|
-
<span style="color:#ff3333; font-weight:bold;">:key</span> <span style="color:#006600; font-weight:bold;">=></span> <span style="color:#996600;">"port"</span>,
|
83
|
-
<span style="color:#ff3333; font-weight:bold;">:value</span> <span style="color:#006600; font-weight:bold;">=></span> <span style="color:#996600;">"6980"</span> <span style="color:#006600; font-weight:bold;">}</span>
|
84
|
-
Couchdb.<span style="color:#9900CC;">set_config</span><span style="color:#006600; font-weight:bold;">(</span>data,auth_session<span style="color:#006600; font-weight:bold;">)</span>
|
85
|
-
Couchdb.<span style="color:#9900CC;">port</span> = <span style="color:#996600;">"6980"</span></pre></div></div>
|
86
|
-
|
87
|
-
<p>The last line</p>
|
88
|
-
|
89
|
-
<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">Couchdb.<span style="color:#9900CC;">port</span> = <span style="color:#996600;">"6980"</span></pre></div></div>
|
90
|
-
|
91
|
-
<p>Will make Leanback use the port# 6980 for all future requests.</p>
|
92
|
-
</div><!-- .entry-content -->
|
93
|
-
|
94
|
-
|
95
|
-
</div><!-- .hentry -->
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
</div><!-- .content .hfeed -->
|
104
|
-
|
105
|
-
|
106
|
-
<div id="primary" class="sidebar aside">
|
107
|
-
|
108
|
-
|
109
|
-
<div id="hybrid-nav-menu-3" class="widget nav-menu widget-nav-menu"><div class="widget-wrap widget-inside"><h3 class="widget-title">Leanback</h3><div class="menu-sidebar-container"><ul id="menu-sidebar" class="nav-menu"><li id="menu-item-13" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-ancestor current-menu-parent current_page_parent current_page_ancestor menu-item-13"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/leanback/">Leanback</a><ul class="sub-menu"><li id="menu-item-14" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-14"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/leanback/installation/">Install</a></li><li id="menu-item-15" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-15"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/basic-couchdb-operations/">Basic CouchDB Operations</a></li><li id="menu-item-41" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-41"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/find-documents-by-key/">Find documents by key</a></li><li id="menu-item-167" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-167"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/find-document-by-multiple-keys/">Find document by multiple Keys</a></li><li id="menu-item-140" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-140"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/count-documents-by-key/">Count documents by key</a></li><li id="menu-item-175" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-175"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/count-by-multiple-documents/">Count documents by multiple keys</a></li><li id="menu-item-45" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-45"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/design-documents-and-permanent-views/">Working with CouchDB views</a></li><li id="menu-item-67" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-67"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/error-handling/">Error handling</a></li><li id="menu-item-96" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-96"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/couchdb-configuration/">CouchDB Configuration</a></li><li id="menu-item-102" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-102"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/couchdb-security/">CouchDB Security</a></li><li id="menu-item-105" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-103 current_page_item menu-item-105"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/setting-the-bind_address-port/">CouchDB Bind_Address & Port</a></li></ul></li><li id="menu-item-142" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-142"><a href="https://github.com/obi-a/leanback/blob/master/Changelog.rdoc">Changes</a></li><li id="menu-item-78" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-78"><a href="https://github.com/obi-a/leanback">Source Code</a></li></ul></div></div></div>
|
110
|
-
|
111
|
-
</div><!-- #primary .aside -->
|
112
|
-
|
113
|
-
|
114
|
-
</div><!-- #container -->
|
115
|
-
|
116
|
-
<div id="footer-container">
|
117
|
-
|
118
|
-
|
119
|
-
<div id="footer">
|
120
|
-
|
121
|
-
<div class="footer-insert"><p class="copyright">Copyright © 2013 <a href="http://obi-akubue.org">obi-akubue.org</a>.</p></div>
|
122
|
-
</div><!-- #footer -->
|
123
|
-
|
124
|
-
|
125
|
-
</div><!-- #footer-container -->
|
126
|
-
|
127
|
-
</div><!-- #body-container -->
|
128
|
-
|
129
|
-
|
130
|
-
<script type="text/javascript">
|
131
|
-
|
132
|
-
var _gaq = _gaq || [];
|
133
|
-
_gaq.push(['_setAccount', 'UA-20190925-6']);
|
134
|
-
_gaq.push(['_trackPageview']);
|
135
|
-
|
136
|
-
(function() {
|
137
|
-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
138
|
-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
139
|
-
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);
|
140
|
-
})();
|
141
|
-
</script>
|
142
|
-
|
143
|
-
<a style='color:transparent;position:absolute;left:-99999px;z-index:-99999' href='http://www.wpdownloadmanager.com/' title='Premium Wordpress Plugin download manager'>Premium Wordpress Plugin</a>
|
144
|
-
<script type='text/javascript' src='http://www.whisperservers.com/leanback/wp-content/themes/hybrid/library/js/drop-downs.js?ver=20110705'></script>
|
145
|
-
|
146
|
-
</body>
|
147
|
-
</html>
|
148
|
-
<!-- Dynamic page generated in 0.331 seconds. -->
|
149
|
-
<!-- Cached page generated by WP-Super-Cache on 2013-06-09 16:29:30 -->
|
150
|
-
|
151
|
-
<!-- super cache -->
|