Permalink
Browse files

[dist] Regenerate new base site. Not finished but close

  • Loading branch information...
1 parent 6dc159f commit 13a5127e1fea2ff2f63a19b8c92c9831908d8965 @indexzero indexzero committed Nov 25, 2012
@@ -0,0 +1,221 @@
+<!DOCTYPE html>
+<html class="no-js" lang="en">
+
+<head>
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+ <meta charset="utf-8">
+
+ <title>The Nodejitsu Handbook</title>
+
+ <meta name="description" content="The Nodejitsu Handbook - A gentle introduction to the art of Nodejitsu" />
+ <meta name="author" content="Nodejitsu Inc" />
+ <meta name="viewport" content="width=device-width" />
+
+ <link rel="stylesheet" href="/css/base.dev.css">
+ <link rel="stylesheet" href="http://yandex.st/highlightjs/7.3/styles/github.min.css">
+ <link rel="icon" type="image/png" href="img/favicon.png">
+
+ <script src="http://yandex.st/highlightjs/7.3/highlight.min.js"></script>
+ <script>
+ hljs.tabReplace = ' ';
+ hljs.initHighlightingOnLoad();
+ </script>
+
+</head>
+
+<body class="container">
+
+ <nav role="navigation" class="navigation">
+ <div class="row">
+ <ul>
+ <li><a href="http://nodejitsu.com/" class="sprite logo hide-text">Nodejitsu Inc.</a></li>
+ </ul>
+ </div>
+ </nav>
+
+ <div class="row">
+
+ <aside class="tableofcontents threecol" role="complementary">
+ <h2>Table of contents</h2>
+ <div id="toc">
+<ul class="vertical-tabs">
+ <li class="tree">
+ <div class="page-details">
+ <a href="/a-quickstart" class="title">a-quickstart</a>
+ </div>
+ </li><li class="tree">
+ <div class="page-details">
+ <a href="/a-quickstart/faq" class="title">a-quickstart/faq</a>
+ </div>
+ </li><li class="tree">
+ <div class="page-details">
+ <a href="/a-quickstart/features" class="title">a-quickstart/features</a>
+ </div>
+ </li><li class="tree">
+ <div class="page-details">
+ <a href="/a-quickstart/hello-world" class="title">a-quickstart/hello-world</a>
+ </div>
+ </li>
+</ul><ul class="vertical-tabs">
+ <li class="tree">
+ <div class="page-details">
+ <a href="/jitsu" class="title">jitsu</a>
+ </div>
+ </li>
+</ul><ul class="vertical-tabs">
+ <li class="tree">
+ <div class="page-details">
+ <a href="/webops" class="title">webops</a>
+ </div>
+ </li>
+</ul><ul class="vertical-tabs">
+ <li class="tree">
+ <div class="page-details">
+ <a href="/support" class="title">support</a>
+ </div>
+ </li>
+</ul><ul class="vertical-tabs">
+ <li class="tree">
+ <div class="page-details">
+ <a href="/api" class="title">api</a>
+ </div>
+ </li><li class="tree">
+ <div class="page-details">
+ <a href="/api/webhooks" class="title">api/webhooks</a>
+ </div>
+ </li>
+</ul><ul class="vertical-tabs">
+ <li class="tree">
+ <div class="page-details">
+ <a href="/appendix/haibu" class="title">appendix/haibu</a>
+ </div>
+ </li><li class="tree">
+ <div class="page-details">
+ <a href="/appendix/open-source" class="title">appendix/open-source</a>
+ </div>
+ </li><li class="tree">
+ <div class="page-details">
+ <a href="/appendix/package" class="title">appendix/package</a>
+ </div>
+ </li><li class="tree">
+ <div class="page-details">
+ <a href="/appendix/resources" class="title">appendix/resources</a>
+ </div>
+ </li>
+</ul></div>
+ </aside>
+ <div class="full-height threecol"></div>
+
+
+ <div class="content sevencol" role="main">
+ <article id="content" class="tab-content intro"><div>
+ <div class="page-details">
+ <h1 class="title">a-quickstart/faq</h1>
+ </div>
+ <div class="content"><h1>Frequently Asked Questions</h1>
+<p><a name='faq'></a>
+
+</p>
+<p><strong>For more information about pricing, see <a href="http://nodejitsu.com/paas/faq.html">the pricing FAQ</a>.</strong>
+
+</p>
+<h2>&quot;How do I reset my password?&quot;</h2>
+<p>One way is to use jitsu. Simply type:
+
+</p>
+<pre><code>jitsu users forgot :username</code></pre>
+<p>where <code>:username</code> is your username. Alternately, go to <a href="http://develop.nodejitsu.com/">http://develop.nodejitsu.com/</a> and click the &quot;forgot password&quot; link, where you will be prompted for your username. Either process will send you an email with further instructions.
+
+</p>
+<h2>&quot;Is there a cheatsheet somewhere?&quot;</h2>
+<p>There sure is! Check out <a href="http://cheatsheet.nodejitsu.com">http://cheatsheet.nodejitsu.com</a>.
+
+</p>
+<h2>&quot;How are programs kept alive? Do I need to use Forever?&quot;</h2>
+<p>Nodejitsu&#39;s cloud services watch your programs for you! You shouldn&#39;t have to do anything special to keep your apps running, much less use Forever.
+
+</p>
+<h2>&quot;How can I make my app use a port other than port 80?&quot;</h2>
+<p>Connecting to other servers using arbitrary ports requires no special considerations. However, <em>listening</em> for outside connections is currently limited to port 80 on the Nodejitsu platform because we require http host headers for domain name resolution of subdomains. Consequentially, each subdomain may only host one listening service.
+
+</p>
+<p>The ability to host TCP applications on nodejitsu and listen on non-80 ports is on our roadmap but has no associated timeline.
+
+</p>
+<h2>&quot;How do I make Koding work with jitsu?&quot;</h2>
+<p>By default, Koding will not install packages globally, due to a permission error. You can fix this by setting the
+npm prefix to a location that you have permissions to access, like your home directory. To do this, simply run:
+
+</p>
+<p><code>npm config set prefix ~</code>
+
+</p>
+<p>And then you can install jitsu normally:
+
+</p>
+<p><code>npm i jitsu -g</code>
+
+</p>
+<h2>&quot;Can I use jitsu with Cloud9 IDE (<a href="http://c9.io">http://c9.io</a>)?&quot;</h2>
+<p>Yes! Follow these steps to install jitsu.
+
+</p>
+<ol>
+<li><p>Install the latest npm globally: <code>npm install -g npm</code></p>
+</li>
+<li><p>Install the latest jitsu locally: <code>npm install jitsu</code></p>
+</li>
+</ol>
+<p>Now you can use jitsu as usual. If you get error, try <code>npm rm -g jitsu &amp;&amp; npm cache clean</code>.
+
+</p>
+<h2>&quot;How can I turn off the require-analyzer in jitsu? I want to manage my own dependencies!&quot;</h2>
+<p>There are three ways to disable the require-analyzer:
+
+</p>
+<ul>
+<li>Use the <code>--noanalyze</code> flag when running jitsu commands to disable it on a one-time basis.</li>
+<li>Add <code>&quot;analyze&quot;: false</code> to your package.json to disable it on a per-app basis.</li>
+<li>Set &quot;analyze&quot; to <code>false</code> in your <code>~/.jitsuconf</code> to disable it on a global level.</li>
+</ul>
+<h2>&quot;How Do I add my GitHub repository as a dependency?&quot;</h2>
+<p>Use the following format: <code>https://github.com/:user/:repo/tarball/:branch</code>
+
+</p>
+<h2>&quot;Why won&#39;t this C++ addon compile?&quot;</h2>
+<p>Many <a href="http://nodejs.org/docs/latest/api/addons.html">C++ addons</a> require libraries that are not included in Nodejitsu&#39;s infrastructure by default. For example, <a href="https://github.com/learnboost/node-canvas">node-canvas</a> requires <a href="http://cairographics.org/">cairo</a>. Nodejitsu has cairo and many other such libraries, but may not have some more obscure ones.
+
+</p>
+<h2>&quot;How do I specify which files not to bundle? How do I know what files are getting bundled?&quot;</h2>
+<p>Jitsu uses npm to bundle files, meaning that jitsu bundles files in exactly the same manner than npm bundles published modules. You can read about this in <a href="http://npmjs.org/doc/developers.html">npm&#39;s documentation</a>.
+
+</p>
+<p>In more detail: npm uses a file called <code>.npmignore</code>, which should contain a list of files and folders to ignore for the purpose of bundling. If this file does not exist, npm will use git&#39;s ignore file, called <code>.gitignore</code>, instead. This means that, if you want to bundle files that are ignored by git, you should create an <code>.npmignore</code> even if it&#39;s blank.
+
+</p>
+<p>Finally, jitsu has the ability to bundle your app without deploying with the <code>jitsu package create</code> command. You can use this to make sure that the resulting .tgz file is as you expect.
+
+</p>
+<h2>&quot;How do I fix <code>Error: package.json error: can&#39;t find starting script</code>?&quot;</h2>
+<p>Nodejitsu requires a starting script in the package.json to know which script to run to start your application. You need to make sure that the scripts.start field in your package.json points to the correct starting script.
+
+</p>
+<p>A common issue is using &quot;node app&quot; as the value of scripts.start in your package.json. This won&#39;t work on Nodejitsu because the file extension is not specified. You&#39;ll need to do something along the lines of &quot;node app.js&quot;.
+</p>
+</div>
+</div></article>
+ </div>
+ <!-- content -->
+ </div>
+ <!-- row -->
+
+ <footer role="contentinfo" class="copyright">
+ <p>&copy; 2010-2012 Nodejitsu Inc.</p>
+ <a href="http://legal.nodejitsu.com/privacy" class="last">Privacy policy</a>
+ <a href="http://legal.nodejitsu.com/terms-of-service">Terms of Service</a>
+ </footer>
+
+ <script src="../public/js/ui.js"></script>
+
+</body>
+</html>
Oops, something went wrong.

0 comments on commit 13a5127

Please sign in to comment.