DEV Community

loading...

Spinning up your knowledge base in minutes

fivetwentysix profile image Patrick Ma ・1 min read

To begin with this tutorial, you'll need a Debian/Ubuntu server which you can get from Digital Ocean using my link for a free $10 credit.

Once the server is created and you've successfully SSH'd install necessary dependencies into the server, then download and unpack Raneto.

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

The knowledge base application should be serving on port 8080. To serve on port 80 you can simply forward the port using iptables:

sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080

and now your app is also serving on port 80 which is the standard port for HTTP.

You now have a working knowledge base. If you get stuck feel free to comment and I will respond.

Discussion (1)

pic
Editor guide
Collapse
wawiboi profile image
Wawiboi

Was just trying out the demos. Was just wondering, can you have images rendered, in these .md files?