{"id":57,"date":"2018-03-21T13:43:23","date_gmt":"2018-03-21T04:43:23","guid":{"rendered":"http:\/\/blog.geofictician.net\/?p=57"},"modified":"2018-03-21T13:43:23","modified_gmt":"2018-03-21T04:43:23","slug":"not-making-progress","status":"publish","type":"post","link":"https:\/\/blog.geofictician.net\/index.php\/2018\/03\/21\/not-making-progress\/","title":{"rendered":"Not making progress"},"content":{"rendered":"<p>I wanted to post a part 2 for my last post, about how I got the tileserver working. I was going to talk about coastlines. In fact, my tileserver IS working, but it feels a bit useless without the other half: the so-called Rails Port.<\/p>\n<p>So I have become obsessed with trying to get the Rails Port running. And I keep running into problems. The fundamental problem is that I have never used Ruby (and\/or &#8220;Ruby on Rails&#8221;) before. I don&#8217;t really understand it. It&#8217;s not a development environment I have any comfort with at all. I don&#8217;t really even get the overall model.<\/p>\n<p>I can get a local version of the generic &#8220;openstreetmap-website&#8221; code running on port 3000 on my desktop. And I can get a similar &#8220;development&#8221; version running on my server. But I don&#8217;t know all the places I need to edit to get the Rails Port to &#8220;look at&#8221; my tile server and not the default OSM tileservers. And I don&#8217;t know what other files I need to customize to control e.g. users, site security, name presentation, etc.<\/p>\n<p>I think I&#8217;m going to have to take a timeout on trying to set this up, and spend some time learning how to deploy a much simpler Ruby app on my server.<\/p>\n<p>One bit that seems like it should be utterly trivial is how to get the application to present on port 80 (standard webpage) instead of port 3000 (Ruby&#8217;s default development port, I guess). I have installed Passenger for Apache and that&#8217;s how I can present the application on port 3000, but I guess Rails doesn&#8217;t cohabit well with other applications on Apache &#8211; e.g. the wiki, this blog, etc. So somehow&#8230; it has to get &#8220;wrapped&#8221; or &#8220;proxied&#8221; but the details of how to configure this are beyond my expertise.<\/p>\n<p>I&#8217;m frustrated, so I&#8217;m going to take a break from this server stuff.<\/p>\n<p>Music to map by:&nbsp;<a href=\"https:\/\/www.youtube.com\/watch?v=ZpQImfhEeCc\">\ubc15\uacbd\uc560 &#8211; \uace1\uc608\uc0ac\uc758 \uccab\uc0ac\ub791<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I wanted to post a part 2 for my last post, about how I got the tileserver working. I was going to talk about coastlines. In fact, my tileserver IS working, but it feels a bit useless without the other half: the so-called Rails Port. So I have become obsessed with trying to get the &hellip; <a href=\"https:\/\/blog.geofictician.net\/index.php\/2018\/03\/21\/not-making-progress\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Not making progress<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,14],"tags":[],"class_list":["post-57","post","type-post","status-publish","format-standard","hentry","category-hrate","category-rants-and-general-complaints"],"_links":{"self":[{"href":"https:\/\/blog.geofictician.net\/index.php\/wp-json\/wp\/v2\/posts\/57","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.geofictician.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.geofictician.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.geofictician.net\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.geofictician.net\/index.php\/wp-json\/wp\/v2\/comments?post=57"}],"version-history":[{"count":0,"href":"https:\/\/blog.geofictician.net\/index.php\/wp-json\/wp\/v2\/posts\/57\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.geofictician.net\/index.php\/wp-json\/wp\/v2\/media?parent=57"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.geofictician.net\/index.php\/wp-json\/wp\/v2\/categories?post=57"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.geofictician.net\/index.php\/wp-json\/wp\/v2\/tags?post=57"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}