<commit_before><html>
<head>
  <title>Kanso - Tutorial</title>
  <link rel="stylesheet" href="http://yandex.st/highlightjs/5.16/styles/github.min.css">
  <link rel="stylesheet" href="stylesheets/kanso.css" />
</head>
<body>
  <div id="topbar"></div>
  <div id="topbar_overlay"></div>
  <div id="container">

    <ul id="navigation">
      <li><a href="index.html">Intro</a></li>
      <li><a class="selected" href="tutorial.html">Tutorial</a></li>
      <li><a href="docs.html">Docs</a></li>
      <li><a href="https://github.com/caolan/kanso">Code &rArr;</a></li>
    </ul>

    <a id="sitename" href="index.html">
      <img src="images/kanso_ribbon.png" />
    </a>

    <!-- populated by javascript -->
    <ul id="sidenav"></ul>

    <h1>Getting started</h1>

    <h2 id="installation">Installation</h2>
    <p>
      Install the most recent <em>stable</em> version of
      <a href="http://nodejs.org/#download">node</a>, then clone
      <a href="https://github.com/caolan/kanso">kanso</a> from GitHub.
      Fetch the relevant submodules by doing the following in the cloned directory:
    </p>
    <pre>git submodule init
git submodule update</pre>
    <p>You are then ready to install:</p>
    <pre>make &amp;&amp; sudo make install</pre>

    <h3>Using NPM</h3>
    <p>
    If you already have node.js installed, and you're using npm
    (Node Package Manager), then you can install by simply doing the following:
    </p>
    <pre>npm install kanso</pre>

    <h3>Why does Kanso need node.js?</h3>
    <p>
      Node.js is used for the command-line tools only. With Kanso, the end result is a pure
      <a href="http://couchapp.org">CouchApp</a> you can host using CouchDB alone.
      Using node to write the associated tools allows us to do some powerful things
      by interpreting the JavaScript of your application.
    </p>

    <h2 id="starting_a_project">Starting a project</h2>
    <p>
      For this tutorial we'll be making a fairly typical blog, with posts,
      comments and users. Some familiarity with CouchDB is expected, but I'll
      try to explain the concepts as we go.
    </p>
    <p><commit_msg>update npm install command in tutorial<commit_after><html>
<head>
  <title>Kanso - Tutorial</title>
  <link rel="stylesheet" href="http://yandex.st/highlightjs/5.16/styles/github.min.css">
  <link rel="stylesheet" href="stylesheets/kanso.css" />
</head>
<body>
  <div id="topbar"></div>
  <div id="topbar_overlay"></div>
  <div id="container">

    <ul id="navigation">
      <li><a href="index.html">Intro</a></li>
      <li><a class="selected" href="tutorial.html">Tutorial</a></li>
      <li><a href="docs.html">Docs</a></li>
      <li><a href="https://github.com/caolan/kanso">Code &rArr;</a></li>
    </ul>

    <a id="sitename" href="index.html">
      <img src="images/kanso_ribbon.png" />
    </a>

    <!-- populated by javascript -->
    <ul id="sidenav"></ul>

    <h1>Getting started</h1>

    <h2 id="installation">Installation</h2>
    <p>
      Install the most recent <em>stable</em> version of
      <a href="http://nodejs.org/#download">node</a>, then clone
      <a href="https://github.com/caolan/kanso">kanso</a> from GitHub.
      Fetch the relevant submodules by doing the following in the cloned directory:
    </p>
    <pre>git submodule init
git submodule update</pre>
    <p>You are then ready to install:</p>
    <pre>make &amp;&amp; sudo make install</pre>

    <h3>Using NPM</h3>
    <p>
    If you already have node.js installed, and you're using npm
    (Node Package Manager), then you can install by simply doing the following:
    </p>
    <pre>sudo npm install -g kanso</pre>

    <h3>Why does Kanso need node.js?</h3>
    <p>
      Node.js is used for the command-line tools only. With Kanso, the end result is a pure
      <a href="http://couchapp.org">CouchApp</a> you can host using CouchDB alone.
      Using node to write the associated tools allows us to do some powerful things
      by interpreting the JavaScript of your application.
    </p>

    <h2 id="starting_a_project">Starting a project</h2>
    <p>
      For this tutorial we'll be making a fairly typical blog, with posts,
      comments and users. Some familiarity with CouchDB is expected, but I'll
      try to explain the concepts as we go.
    </p>
    <p>
{'fraction_non_alphanumeric': 0.15182515694024645, 'fraction_numerical': 0.006045105789351314, 'mean_word_length': 3.108882521489971, 'pattern_counts': {'":': 0, '<': 147, '<?xml version=': 0, '>': 147, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6299222', 'n_tokens_mistral': 1494, 'n_tokens_neox': 1425, 'n_words': 428}