{"id":1610,"date":"2020-04-19T12:27:46","date_gmt":"2020-04-19T17:27:46","guid":{"rendered":"http:\/\/blog.ls-al.com\/?p=1610"},"modified":"2020-04-19T12:29:04","modified_gmt":"2020-04-19T17:29:04","slug":"htmly-flat-file-blog","status":"publish","type":"post","link":"https:\/\/blog.ls-al.com\/htmly-flat-file-blog\/","title":{"rendered":"htmly flat-file blog"},"content":{"rendered":"
# apt install apache2 php php-zip php-xml\n\n# cat \/etc\/apache2\/sites-available\/000-default.conf \n...\n<VirtualHost *:80>\n...\n DocumentRoot \/var\/www\/html\n\n <Directory "\/var\/www\/html\/">\n Options FollowSymLinks Indexes\n AllowOverride All\n Order Allow,Deny\n Allow from all\n DirectoryIndex index.php\n <\/Directory>\n...\n\n# systemctl enable apache2\n# systemctl start apache2\n# systemctl status apache2\n\n# cd \/var\/www\/html\n# wget https:\/\/github.com\/danpros\/htmly\/releases\/latest<\/code><\/pre>\nvisit server http:\/\/localhost\/installer.php<\/a> and run through initial steps<\/h3>\n# cd \/var\/www\n# chown -R www-data html\/\n# cd html\/\n\n# ls -l backup\/\ntotal 5\n-rw-r--r-- 1 www-data www-data 1773 Apr 19 12:07 htmly_2020-04-19-12-07-28.zip\n\n# tree content\/\ncontent\/\n\u251c\u2500\u2500 admin\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 blog\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 general\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 draft\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 post\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 2020-04-19-12-05-14_general_post-1.md\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 uncategorized\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 post\n\u2514\u2500\u2500 data\n \u251c\u2500\u2500 category\n \u2502\u00a0\u00a0 \u2514\u2500\u2500 general.md\n \u2514\u2500\u2500 tags.lang\n\n9 directories, 3 files\n\n# cat content\/admin\/blog\/general\/post\/2020-04-19-12-05-14_general_post-1.md \n<!--t post 1 t-->\n<!--d this is a test post #1 d-->\n<!--tag general tag--><\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"Test Htmly on Ubuntu 19.10 https:\/\/github.com\/danpros\/htmly\/releases\/tag\/v2.7.4 https:\/\/docs.htmly.com\/web-servers\/apache # apt install apache2 php php-zip php-xml # cat \/etc\/apache2\/sites-available\/000-default.conf … <VirtualHost *:80><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1610","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/1610","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/comments?post=1610"}],"version-history":[{"count":0,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/1610\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/media?parent=1610"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/categories?post=1610"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/tags?post=1610"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}