0
|
1 title: README.md
|
|
2 author: kiichi aka
|
|
3 profile: Ryukyu Concurrency Reliance Lablatory
|
|
4 lang: Japanese
|
|
5 code-engine: coderay
|
|
6
|
|
7 # What This
|
|
8 これは, markdownから並列信頼研のロゴが入ったスライドを生成するdockerです.
|
|
9
|
|
10 This is a docker that generates a slide with the Concurrency Reliance Lab logo from markdown.
|
|
11
|
|
12 # How Use
|
2
|
13
|
|
14 ## Use Makefile
|
|
15
|
|
16 makeファイルでのdockerはmake buildで行えます.
|
|
17
|
|
18 ```
|
|
19 make build
|
|
20 ```
|
|
21
|
|
22 buildが成功したら次のコマンドを使うことで, カレントディレクトリにREADME.mdのhtml, pdf.htmlが生成されます.
|
|
23
|
|
24 If build is successful, using following command will generate html and pdf.html from README.md in the current directory.
|
|
25
|
|
26 ```
|
|
27 make run
|
|
28 ```
|
|
29
|
|
30 他のファイルを指定したいときはMDオプションにファイル名を与えます.
|
|
31
|
|
32 ```
|
|
33 make run MD=sample.md
|
|
34 ```
|
|
35
|
|
36 make cleanで, build済のdocker, contener, 生成されたファイルを削除します
|
|
37
|
|
38 ```
|
|
39 make clean
|
|
40 ```
|
|
41
|
|
42 make cleanfで, 生成されたファイルのみ削除できます.
|
|
43
|
|
44 ```
|
|
45 make cleanf
|
|
46 ```
|
|
47
|
|
48 ## Use Command
|
0
|
49 dockerをbuildします.
|
|
50
|
|
51 Build docker.
|
|
52 ```
|
|
53 docker build -t slide_docker .
|
|
54 ```
|
|
55
|
2
|
56 buildが成功したら次のコマンドを使うことで, カレントディレクトリにREADME.mdのhtml, pdf.htmlが生成されます.
|
0
|
57
|
2
|
58 If build is successful, using following command will generate html and pdf.html from README.md in the current directory.
|
0
|
59
|
|
60 ```
|
|
61 docker run --rm -v $PWD:/slideshow slide_docker:latest
|
|
62 ```
|
|
63
|
2
|
64 他のファイルを指定したいときは後ろにファイル名の引数を与えます.
|
|
65
|
|
66 ```
|
|
67 docker run --rm -v $PWD:/slideshow slide_docker:latest sample.md
|
|
68 ```
|
|
69
|