{"id":1723,"date":"2013-12-12T17:01:15","date_gmt":"2013-12-13T01:01:15","guid":{"rendered":"http:\/\/upon2020.com\/blog\/?p=1723"},"modified":"2014-03-06T12:02:30","modified_gmt":"2014-03-06T20:02:30","slug":"home-server-step-5-deploy-shaarli-via-indie-box","status":"publish","type":"post","link":"https:\/\/upon2020.com\/blog\/2013\/12\/home-server-step-5-deploy-shaarli-via-indie-box\/","title":{"rendered":"Home server step 5: deploy Shaarli via Indie Box"},"content":{"rendered":"<p>I&#8217;ve wanted to migrate off delicious for a long time. Now that I&#8217;ve rebuilt my home server with <a href=\"http:\/\/indieboxproject.org\/\">Indie Box<\/a>, I can. And it was reeeaaaaallllly easy:<\/p>\n<p>First I created a server DNS alias, by adding this to <code>\/etc\/hosts<\/code>:<\/p>\n<pre>192.168.138.1\u00a0\u00a0 jernst.aviatis.com<\/pre>\n<p>(aviatis.com is my home domain. And dnsmasq is picking it up right from <code>\/etc\/hosts<\/code> to provide the DNS name on my home network.)<\/p>\n<p>Then, I created an Indie Box Site JSON file that describes which applications I&#8217;d like to run at that new hostname. Right now, it&#8217;s only <a href=\"https:\/\/github.com\/sebsauvage\/Shaarli\">shaarli<\/a>, an open-source delicious clone:<\/p>\n<pre>{\r\n\u00a0 \"siteid\" : \"s0100\",\r\n\u00a0 \"hostname\" : \"jernst.aviatis.com\",\r\n\r\n\u00a0 \"appconfigs\" : [\r\n\u00a0\u00a0\u00a0 {\r\n\u00a0\u00a0\u00a0\u00a0\u00a0 \"appconfigid\" : \"a0101\",\r\n\u00a0\u00a0\u00a0\u00a0\u00a0 \"appid\" : \"indie-shaarli\",\r\n\u00a0\u00a0\u00a0\u00a0\u00a0 \"isdefault\" : true,\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0 \"customizationpoints\" : {\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \"indie-shaarli\" : {\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \"login\" : {\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \"value\" : \"jernst\"\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 },\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \"password\" : {\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \"value\" : \"xxx\"\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 }\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 }\r\n\u00a0\u00a0\u00a0\u00a0\u00a0 }\r\n\u00a0\u00a0\u00a0 }\r\n\u00a0 ]\r\n}<\/pre>\n<p>And, true to the promise of Indie Box, setting up the site only took a single command:<\/p>\n<pre>cat s01000.json | ssh root@jernst.aviatis.com indie-box-admin deploy<\/pre>\n<p>Done. Here is the screen shot to prove it. (Well, after I imported my delicious bookmarks.) I&#8217;m soooo looking forward to bringing more data home from assorted 3rd-party sites.<br \/>\n<a href=\"http:\/\/upon2020.com\/blog\/wp-content\/uploads\/2013\/12\/Screen-Shot-2013-12-12-at-16.59.24-.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1724\" alt=\"Screen Shot 2013-12-12 at 16.59.24\" src=\"http:\/\/upon2020.com\/blog\/wp-content\/uploads\/2013\/12\/Screen-Shot-2013-12-12-at-16.59.24-.png\" width=\"653\" height=\"358\" srcset=\"https:\/\/upon2020.com\/blog\/wp-content\/uploads\/2013\/12\/Screen-Shot-2013-12-12-at-16.59.24-.png 653w, https:\/\/upon2020.com\/blog\/wp-content\/uploads\/2013\/12\/Screen-Shot-2013-12-12-at-16.59.24--300x164.png 300w\" sizes=\"auto, (max-width: 653px) 100vw, 653px\" \/><\/a><\/p>\n<p>This is the end of the series. Check out <a href=\"http:\/\/indieboxproject.org\/\">Indie Box Project<\/a>!<\/p>\n<p>&nbsp;<\/p>\n<p>Links to all parts: <a href=\"\/blog\/2013\/11\/home-server-step-1-assemble-and-test-hardware\/\">Step 1: assemble and test hardware<\/a>; <a href=\"\/blog\/2013\/11\/home-server-step-2-install-arch-linux\/\">Step 2: install Arch Linux<\/a>; <a href=\"\/blog\/2013\/11\/home-server-step-3-networking\/\">Step 3: networking<\/a>; <a href=\"\/blog\/2013\/12\/home-server-step-4-make-it-an-indie-box\/\">Step 4: make it an Indie Box!<\/a>; <a href=\"\/blog\/2013\/12\/home-server-step-5-deploy-shaarli-via-indie-box\/\">Step 5: deploy Shaarli via Indie Box<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve wanted to migrate off delicious for a long time. Now that I&#8217;ve rebuilt my home server with Indie Box, I can. And it was reeeaaaaallllly easy: First I created a server DNS alias, by adding this to \/etc\/hosts: 192.168.138.1\u00a0\u00a0 jernst.aviatis.com (aviatis.com is my home domain. And dnsmasq is picking it up right from \/etc\/hosts&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"webmentions_disabled":false,"footnotes":""},"categories":[65,66],"tags":[291,293],"class_list":["post-1723","post","type-post","status-publish","format-standard","hentry","category-personal","category-technical","tag-indiebox","tag-shaarli","kind-"],"kind":false,"_links":{"self":[{"href":"https:\/\/upon2020.com\/blog\/wp-json\/wp\/v2\/posts\/1723","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/upon2020.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/upon2020.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/upon2020.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/upon2020.com\/blog\/wp-json\/wp\/v2\/comments?post=1723"}],"version-history":[{"count":5,"href":"https:\/\/upon2020.com\/blog\/wp-json\/wp\/v2\/posts\/1723\/revisions"}],"predecessor-version":[{"id":1899,"href":"https:\/\/upon2020.com\/blog\/wp-json\/wp\/v2\/posts\/1723\/revisions\/1899"}],"wp:attachment":[{"href":"https:\/\/upon2020.com\/blog\/wp-json\/wp\/v2\/media?parent=1723"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/upon2020.com\/blog\/wp-json\/wp\/v2\/categories?post=1723"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/upon2020.com\/blog\/wp-json\/wp\/v2\/tags?post=1723"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}