SecDevOps.comSecDevOps.com
If You Need a Documentation Manager, Paperless-Ngx Is the Way To Go

If You Need a Documentation Manager, Paperless-Ngx Is the Way To Go

The New Stack(today)Updated today

You’re a company with a developer or a team of developers. Those developers have created several in-house applications and services that integrate into your systems and are rather complicated. After...

You’re a company with a developer or a team of developers. Those developers have created several in-house applications and services that integrate into your systems and are rather complicated. After a while, attrition takes a few of those developers away, and you find those specialty bits and pieces of code were never documented. What do you do? How will you train the next round of developers to continue keeping those bits and pieces working seamlessly? That’s a problem. Had your developers documented their work and the systems, you could simply point those new team members to said documentation, so they could quickly get up to speed with what’s what. Maybe those developers did document things, but the documentation was created haphazardly and is found in different locations and in different forms. Would that you had a documentation management system to make this easier. Fortunately, there is such a beast, and that beast is Paperless-Ngx. Paperless-Ngx is the official continuation of Paperless and Paperless-Ng. This document management system is open source, self-hosted, and vastly simplifies the process of digitizing, organizing, and searching documents by converting them into an online archive. Paperless-Ngx even includes Optical Character Recognition (OCR), so you can easily scan documentation and images such that they are searchable, taggable, and indexable. With Paperless-Ngx, you can eliminate clutter and confusion and ensure you always have documentation at the ready. Paperless-Ngx includes features such as: Organize with tags, correspondents, types, and more. All data is stored locally and is never transmitted or shared. Built-in OCR support. Leverages the open source Tesseract engine to support more than 100 languages. Documents are saved in PDF/A format. Machine learning automatically adds tags and document types. Supports PDFs, images, plain text files, MS Office/LibreOffice documents. Customizable dashboard with statistics. Filtering Bulk editing of tags, correspondents, types, and more. Drag and drop uploading of documents. Customizable views. Custom fields. Shareable public links with optional expiration dates. Full text search. Auto completion to suggest relevant words. Email processing. Messages can be marked as read, deleted, and more. Multi-user permissions system. Workflow system for more control. Optimized for multi-core systems. Integrated sanity checker to ensure the document archive is in good health. You might think such a system would be a challenge to deploy. Thanks to Docker, it’s not. Let me walk you through the process of installing this outstanding document management system. What You’ll Need The only things you’ll need for this are an operating system that supports Docker and a working internet connection. I’ll demonstrate this process on Ubuntu Server 24.04. If you’re using a different OS, you’ll need to modify the steps for installing Docker. If you already have Docker installed, you can skip directly to the installing Paperless-Ngx section. Ready? Let’s go. Installing Docker Before you install Paperless-Ngx, you’ll need to first install Docker. Here’s how to do that in four easy steps. Step 1: Add the official Docker GPG key The first thing you must do is add the official Docker GPG key with the following commands: Step 2: Add the Required Docker Repository With the key added, you can now add the necessary repository with the command: Step 3: Update Apts and Install the Required Software Let’s update apt with the command: When that completes, install the required software with: Step 4: Add Your User to the Docker Group Finally, to run the Docker command as a standard user, you’ll need to add that user to the Docker group. By doing this, you can avoid running Docker with sudo, which can bring about security issues. Add your user to the Docker group with: With that taken care of, log out and log back in so the changes take effect. Deploying Paperless-Ngx It’s finally time to deploy our system. Back at the terminal window, issue the command: You will have to answer several questions during the text-based installer, most of which are simple. In fact, you will probably want to keep all of the defaults by hitting Enter when prompted. Pay close attention to the port number when asked. By default, Paperless-Ngx wants to use port 8000. I had several other services on my Ubuntu 24.04 server, and the first time I attempted to deploy Paperless-Ngx, I remember that port 8000 was already taken. Instead, I configured it for port 8081 and all was fine. After the installation is completed, open a web browser on a machine that is connected to your LAN and point it to http://SERVER:PORT (Where SERVER is the IP address of the server and PORT is the port you configured). When the sign-in page opens (Figure 1), type an email address and password for your new account. Figure 1: The Paperless-Ngx login screen is also where you create a new account. After you’ve created your account, you’ll find yourself on the Paperless-Ngx main page (Figure 2), where you can begin the process of uploading or creating documentation for your systems. Figure 2: Paperless-Ngx is ready to serve. Never take documentation for granted. If you have proper documentation, you won’t have to deal with new development teams having trouble getting up to speed with what was previously done. You should also probably put policies in place for how you want your documentation to look and read. Make this as simple as possible, and you’ll have few issues as your company grows and evolves. The post If You Need a Documentation Manager, Paperless-Ngx Is the Way To Go appeared first on The New Stack.

Source: This article was originally published on The New Stack

Read full article on source →

Related Articles