3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

redpenインストールメモ

Posted at

RedPenとは

仕様書や設計書、手順書、マニュアル等作成時、誤字脱字、表現揺れなど修正、確認に手間かかりますよね。RedPenはそういった文書校正をするためのオープンソースのツールです。

動作環境

・CentOS8
・RedPen 1.10.4
・JAVA8(1.8)

インストール方法

JAVAのインストール

稼働にはJava 1.8.以上が必要です。

OpenJDKの例
・インストール
 yum install java-1.8.0-openjdk

・環境変数の設定
 export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.302.b08-0.el8_4.x86_64
 export PATH=$PATH$:$JAVA_HOME$/bin
 export CLASSPATH=$JAVA_HOME$/lib

Redpen

redpen-1.10.4.tar.gz をダウンロード
https://github.com/redpen-cc/redpen/releases/

解凍
tar xvf redpen-1.10.4.tar.gz

PGのディレクトリを作成
mkdir -p /usr/local/redpen

ファイルを移動
mv redpen-distribution-1.10.4 /usr/local/redpen

環境変数追加
export PATH=\$PATH\$:/usr/local/redpen/bin

●Webサーバ動作確認

サーバ起動
java -jar /usr/local/redpen/bin/redpen-server.war

 ブラウザからアクセス
 http://localhost:8080/

参考
redpen公式TOP
https://redpen.cc/
redpen公式マニュアル
http://redpen.cc/docs/latest/index_ja.html
PG本体
https://github.com/redpen-cc/redpen/releases/
作者のqiita
https://qiita.com/takahi-i
作者の記事:RedPenを使って技術文書を手軽に校正しよう
https://gihyo.jp/lifestyle/serial/01/redpen/0001?page=1

・その他
RedPenとPandocでドキュメント作りの手間を省こう
https://qiita.com/t_nakayama0714/items/ddac69c4a29d45392961
東北ギーク
http://tech.respect-pal.jp/try-redpen/

2021/8/30 作成

3
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?