t2017-08-26T20-27-40-281825.md - tgtimes - The Gopher Times | |
git clone git://bitreich.org/tgtimes git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws… | |
Log | |
Files | |
Refs | |
Tags | |
--- | |
t2017-08-26T20-27-40-281825.md (1215B) | |
--- | |
1 # 2017-08-26 20:27:40.281825 UTC (+0000) | |
2 | |
3 Phlog System – How To Publish | |
4 | |
5 On bitreich do the following: | |
6 | |
7 % mkdir -p $HOME/gopher/phlog | |
8 | |
9 You will need following scripts: | |
10 | |
11 /br/bin/blog | |
12 /br/bin/bitreich-blog | |
13 | |
14 First, copy them over to your PATH on your computer you create the blog … | |
15 on. | |
16 | |
17 Then do the following: | |
18 | |
19 % mkdir -p $HOME/.blog-bitreich | |
20 % cd $HOME/.blog-bitreich | |
21 % git init | |
22 % touch blogrc | |
23 | |
24 Now open the file »blogrc« and add the following: | |
25 | |
26 publishcp scp %s [email protected]:gopher/phlog | |
27 publishcmd | |
28 | |
29 The publishcp command defines where to copy the file of the article and … | |
30 publishcmd can run for example some script to generate static files. I u… | |
31 this for some other blog. On bitreich we do not need it. | |
32 | |
33 Now use our blog command: | |
34 | |
35 # Add a posting. | |
36 % bitreich-blog -a | |
37 # At least add one empty line after the timestamp and a title. | |
38 2017-01-22T19-45-26-510048 # timestamp / id of blog post | |
39 | |
40 # Other interesting commands: | |
41 % bitreich-blog -l | |
42 % bitreich-blog -e 2017-01-22T19-45-26-510048 | |
43 % bitreich-blog -d 2017-01-22T19-45-26-510048 | |
44 | |
45 Let us publish our news on bitreich: | |
46 | |
47 % bitreich-blog -p 2017-01-22T19-45-26-510048 | |
48 | |
49 See the magic happen. | |
50 | |
51 Have fun! | |
52 | |
53 Sincerely, | |
54 | |
55 20h | |
56 | |
57 |