iTranslated by AI

The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
🗳️

One Year Since Introducing GROWI to My Team

に公開

Introduction

It has already been 6 years since I joined my current company as a new graduate.
In my daily work, I mainly develop frontends using React, ReactNative, and TypeScript.
*The languages used vary by department and team; when I transferred or joined a project as a spot member, I also developed with Vue, .NET, Salesforce, and more.

When I first joined, to be honest, there was an "Excel-is-everything" atmosphere, and files like "Specification20201125v1.xlsx" were lying around everywhere.
The management of documents and code was inconsistent; in the worst cases, they were just placed directly on a file server. Otherwise, SVN and VSS were common, PukiWiki was used in some places, and teams with members sensitive to trends introduced GitLab early on to manage things with its Wiki. That was the general situation.

From that state, the atmosphere gradually shifted towards "let's manage documents properly." After some trial and error to find an easy-to-use tool, we decided to introduce Growi.

Since it has been about a year since I introduced Growi to my team, I would like to write this article about how to set it up and what kind of changes it brought about as a result.

What is Growi in the first place?

There is an open-source Wiki tool called Crowi.
It is an excellent tool that can be used for free if you prepare a server.
Growi is an enhanced version of this Crowi.

While it is recommended to keep data in S3, I didn't want to put data in the cloud, so I decided to use mongoDB as the DB.

Since documents are stored in arbitrary hierarchies, you can define the structure however you like, such as Development/Language/Javascript/Framework/React or Maintenance/SystemXX/2020/SupportLog.

Setup Method

I will proceed assuming that the following task is already completed.

  • Installation of Docker

The following procedure is an example of building the environment in /opt/docker.

Create Working Directory + Clone from Git

mkdir -p /opt/docker
cd /opt/docker
git clone https://github.com/weseek/growi-docker-compose.git
cd growi-docker-compose

Changing Settings

Edit the docker-compose.yml file.

version: '3'

services:
  app:
    build:
      context: .
      dockerfile: ./Dockerfile
    ports:
      - 0.0.0.0:3000:3000 
    links:
      - mongo:mongo
      - elasticsearch:elasticsearch
    depends_on:
      - mongo
      - elasticsearch
    environment:
      - MONGO_URI=mongodb://mongo:27017/growi
      - ELASTICSEARCH_URI=http://elasticsearch:9200/growi
      - PASSWORD_SEED=zennzenn  # String for SEED (set any character string)
      - FILE_UPLOAD : 'mongodb' # Set the storage destination for file attachments to mongodb

Startup

If the settings are completed correctly, it will work with the following command.

docker-compose up -d

Success is if a screen like the one below starts up.
The masked area will contain the Team Name (can be set after logging in as an administrator).

growi-setup

Impressions after using it

Below are some of my impressions after actually using it.

Markdown is King

Before introducing Growi, we were using SVN and PukiWiki, and they were good for what they were, but I really felt that being able to write in Markdown made things move along much faster.
Depending on their career path, some people had never used Markdown before, so supporting them was a bit of a challenge. However, the "Presentation Function" mentioned below helped us get it to take root somehow.
As for the design, since it supports Bootstrap and PlantUML, you can handle simple shapes and basic styles without having to insert images.

Also, it has good affinity with tools like Marp that generate files from Markdown, making it flexible enough to be used according to the business type.

Easy to use as a quick notepad

Since I originally wrote my notes and meeting minutes in Markdown, I started recording them under my user page in Growi in a format like YYYYMMDD/XX_meeting_memo.
Because it has a preview function, it was convenient to be able to share the screen and handle things I wanted to confirm on the spot.
You can also change the hierarchy later, so you can "write roughly as a personal memo" and then later "clean it up and move it to another hierarchy as formal documentation."

Presentation function is convenient

I'm not sure if the original Crowi has it, but there is a feature called the Presentation Function.
It is a function that displays the currently viewed page in a slide format for each item, and it was extremely easy to use.
This is because I was able to reuse materials I had prepared in advance for technical study sessions within the team as-is.
After the study session, members could write their feedback as comments on the documentation page, which was very much appreciated from the organizer's side.

Automated Backup

I am not sure if it is possible when using S3 as the storage destination, but I have automated the backup.
The content is simple: a dump of mongoDB is taken every day and stored in a designated location for a certain period.

Access Restrictions are a bit tricky

In Growi, you can set viewing restrictions on articles.
In addition to "People who know the link" and "Only me", there is "Publish to group only".
For example, you can freely create a group like "Full-time employee user group", but you cannot specify multiple groups for this restriction.
So, if you want to make it viewable only by two groups, "Full-time employees" and "Part-time employees", you need to create one group that includes members from both.
※This is based on the version currently in use (v3.6.7), so it might have been resolved in the latest version.

What kind of changes occurred

These are the changes about a year after the introduction.
I think there are two main points.

Increased frequency of writing documentation

It seems that the ease of writing has a significant effect; information that was previously only left as xxx_work.txt on individual terminals as quick work notes before the introduction is now being uploaded to Growi.
Even small notes seem to be valuable information for new employees or people who have just transferred, and I've started to hear comments like "I found the information when I searched on Growi."

Information gathered in one place

There were many cases where people were dissatisfied with the tools they were originally using, so the use of Growi became established without much missionary work.
As a result, dispersed documents were gathered, making them easier to access.
※Basically, since it is positioned as an internal tool, documents exchanged with external parties are often excluded.

Future Plans

Next, the future outlook.

Handling Duplicate Documents

Because rules were not set in much detail during the initial operation, similar content is often written in different hierarchies.
For example, things like Team A/Development Environment Setup/Node Installation and Team B/Technical Materials/Javascript/Node/Setup occur.
Currently, we are operating with a rule like "Summarize technical materials under Common/Technical Materials/," but duplicates are still seen.

*This is particularly noticeable around Node. Some people, out of kindness, write the installation steps in React/Initial Setup because "Node is essential for creating a React development environment," but I would prefer them to just stick to posting a link to the already created Node/Installation...

When searching, similar information comes up or the content written is old, so how to handle this is a matter for consideration.

Organizing Accumulated Materials

In one year, over 1,000 pages of materials were created.
From now on, I intend to seek ease of access.
Specifically, I plan to improve the convenience of searching by using the tag function of Growi and organize the hierarchy of materials using time at the end of the year.

Summary

In this article, I shared how we introduced Growi and utilized it for document management within the team.
Growi is quite excellent as a knowledge base and has been operating without major problems.
Furthermore, I think that when switching to a tool that seems even easier to use, the transition will be smooth because it can be exported in Markdown.

As mentioned, there are some slightly tricky parts like the viewing restrictions, so I think this will be a good reference if anyone is considering introducing it.

Discussion