<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Patrick Ma</title>
    <description>The latest articles on DEV Community by Patrick Ma (@fivetwentysix).</description>
    <link>https://dev.to/fivetwentysix</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F97465%2Fd6934d8e-5c71-4096-a190-2981b26a5e5c.gif</url>
      <title>DEV Community: Patrick Ma</title>
      <link>https://dev.to/fivetwentysix</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/fivetwentysix"/>
    <language>en</language>
    <item>
      <title>Spinning up your knowledge base in minutes</title>
      <dc:creator>Patrick Ma</dc:creator>
      <pubDate>Wed, 19 Sep 2018 20:32:21 +0000</pubDate>
      <link>https://dev.to/fivetwentysix/spinning-up-your-knowledge-base-in-minutes-o1c</link>
      <guid>https://dev.to/fivetwentysix/spinning-up-your-knowledge-base-in-minutes-o1c</guid>
      <description>

&lt;p&gt;To begin with this tutorial, you'll need a Debian/Ubuntu server which you can get from &lt;a href="https://m.do.co/c/a03123d75450"&gt;Digital Ocean&lt;/a&gt; using my link for a free $10 credit.&lt;/p&gt;

&lt;p&gt;Once the server is created and you've successfully SSH'd install necessary dependencies into the server, then download and unpack Raneto.&lt;/p&gt;



&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo apt-get install -y nodejs wget
wget https://github.com/gilbitron/Raneto/archive/0.16.0.tar.gz raneto.tar.gz
tar -zxf raneto.tar.gz
cd raneto
npm install
PORT=8080 npm start
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;The knowledge base application should be serving on port 8080. To serve on port 80 you can simply forward the port using &lt;code&gt;iptables&lt;/code&gt;:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;and now your app is also serving on port 80 which is the standard port for HTTP.&lt;/p&gt;

&lt;p&gt;You now have a working knowledge base. If you get stuck feel free to comment and I will respond.&lt;/p&gt;


</description>
      <category>knowledgebase</category>
      <category>raneto</category>
      <category>digitalocean</category>
    </item>
  </channel>
</rss>
