Skip to content

tatsuo-ishii/docker-jpug-doc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker container to create Japanese PostgreSQL documents.

How to compile Japanese docs

1. Build docker image

	sudo docker build -t pgsql_doc_ja .

2. Run docker container to compile documents from jpug-doc git repository

	sudo docker run --rm -v $HOME/volum:/var/volum pgsql_doc_ja

3. If you are too lazy to run those command above, you can simply type:

	sudo ./run.sh

In any case you will see the compiled documents in $HOME/volum/html.

4. If you want to compile your local docs, type:

	sudo ./run.sh -p absolute_path_to_docdir -u your_uid -g your_gid

This will create html files under absolute_path_to_docdir/doc/src/sgml/html using uid your_uid and gid your_gid. You can ommit -u and/or -g option but the result html will be owned by root (uid=0, gid=0).

Example:

	sudo ./run.sh -p /home/t-ishii/work/doc-jp/jpug-doc -u 1000 -g 1000

You can specify git branch by specifying git "branch" by using "-b" option. The default is "doc_ja_9_4".

Example:

	sudo ./run.sh -p /home/t-ishii/work/doc-jp/jpug-doc -u 1000 -g 1000 -b doc_ja_9_4

You can specify which Linux distribution should be used in the container. The default is "ubuntu" (Ubuntu 14.04 LTS). You can also specify CentOS 6 by using "-d centos6".

Example:

	sudo ./run.sh -p /home/t-ishii/work/doc-jp/jpug-doc -u 1000 -g 1000 -b doc_ja_9_4 -d ubuntu

About

Docker container to create Japanese PostgreSQL documents.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages