Wiki.js is a free lightweight open-source wiki app built on Node.js. Unlike other wiki platform, Wiki.js doesn’t need a database. It saves all your content directly into Markdown (.md) files and that content is automatically synced with your remote Git repository. Wiki.js source code is publicly available on GitHub ready for you to download and install. For more about this wiki platform, please visit its homepage. When you’re ready, continue with the steps below:
Install Git
Git is required to run Wiki.js. Git comes preinstalled on the Ubuntu server. you might not need to install it. however, if you need the latest version of Git, add the repository below and install from it. After that the latest version of git should be installed and ready to use.
Install Node.js
Another requirement for Wiki.js is Node.js. Wiki.js is built on Node.js and therefore required. Run the commands below to install Node.js After that, Node.js should be installed and ready to use as well.
Install MongoDB
MongoDB is also one of the requirements for Wiki.js. Install the version that comes in the Ubuntu repository. to install MongoDB, run the commands below. That should do it.
Download and Install Wiki.js
Now that all the requirements are met, go and download the Wiki.js install script. To do that, run the commands below. You should see a success message after installing. After the installation, you’ll be prompted to run the config wizard. you can start the wizard by running the commands below. You will see a message to browse to http://localhost:3000 to configure Wiki.js. Open your browser and browse to the server hostname or IP address followed by the port # Start the wizard and configure it. Accept the default settings and continue. Validate that the info is correct. and create an admin account. After that, Wiki.js should be installed and ready to use. You may also like the post below: