DEV Community

Patrick Ma
Patrick Ma

Posted on

2 2

Spinning up your knowledge base in minutes

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.

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (1)

Collapse
 
wawiboi profile image
Wawiboi

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

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay