<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dw="https://www.dreamwidth.org">
  <id>tag:dreamwidth.org,2009-05-01:143160</id>
  <title>Ordinary Day</title>
  <subtitle>And it's all your state of mind</subtitle>
  <author>
    <name>Anna the Piper</name>
  </author>
  <link rel="alternate" type="text/html" href="https://annathepiper.dreamwidth.org/"/>
  <link rel="self" type="text/xml" href="https://annathepiper.dreamwidth.org/data/atom"/>
  <updated>2020-06-20T21:52:41Z</updated>
  <dw:journal username="annathepiper" type="personal"/>
  <entry>
    <id>tag:dreamwidth.org,2009-05-01:143160:1831706</id>
    <link rel="alternate" type="text/html" href="https://annathepiper.dreamwidth.org/1831706.html"/>
    <link rel="self" type="text/xml" href="https://annathepiper.dreamwidth.org/data/atom/?itemid=1831706"/>
    <title>Solving more computer issues, RSS Client edition</title>
    <published>2020-06-20T21:52:41Z</published>
    <updated>2020-06-20T21:52:41Z</updated>
    <category term="computer geekery"/>
    <category term="docker compose"/>
    <category term="vienna"/>
    <category term="lj"/>
    <category term="news explorer"/>
    <category term="rss"/>
    <category term="tiny tiny rss"/>
    <category term="docker"/>
    <category term="reeder"/>
    <category term="dreamwidth"/>
    <dw:security>public</dw:security>
    <dw:reply-count>6</dw:reply-count>
    <content type="html">&lt;p&gt;So way back when, when Google killed off Google Reader, I wound up flipping about a lot in search of an RSS reader solution that&amp;#8217;d let me get the links I wanted to follow in all the places I wanted to follow them.&lt;/p&gt;
&lt;p&gt;I finally settled on a solution that didn&amp;#8217;t exactly satisfy me: using a Feedly account, plus two different RSS clients. I needed one RSS client to pull stuff down from Feedly, and it&amp;#8217;s an RSS client I do like&amp;#8211;but unfortunately it doesn&amp;#8217;t support authenticated feeds. So I also had to install a &lt;em&gt;second&lt;/em&gt; client to get at the feeds I wanted to read from Dreamwidth (and at least until everybody seriously bailed on LJ, LJ as well).&lt;/p&gt;
&lt;p&gt;But I had to also keep the first client, because the second one didn&amp;#8217;t talk to Feedly.&lt;/p&gt;
&lt;p&gt;In other words: stupidly complicated.&lt;/p&gt;
&lt;p&gt;(And this is also stupidly long for a post, so here&amp;#8217;s a More/cut tag for y&amp;#8217;all.)&lt;/p&gt;
&lt;span class="cut-wrapper"&gt;&lt;span style="display: none;" id="span-cuttag___1" class="cuttag"&gt;&lt;/span&gt;&lt;b class="cut-open"&gt;(&amp;nbsp;&lt;/b&gt;&lt;b class="cut-text"&gt;&lt;a href="https://annathepiper.dreamwidth.org/1831706.html#cutid1"&gt;Read the rest of this entry &amp;raquo;&lt;/a&gt;&lt;/b&gt;&lt;b class="cut-close"&gt;&amp;nbsp;)&lt;/b&gt;&lt;/span&gt;&lt;div style="display: none;" id="div-cuttag___1" aria-live="assertive"&gt;&lt;/div&gt;&lt;p&gt;&lt;small&gt;&lt;i&gt;Crossposted from annathepiper.org. Original post: &lt;a href="http://www.annathepiper.org/2020/06/20/solving-more-computer-issues-rss-client-edition/"&gt;http://www.annathepiper.org/2020/06/20/solving-more-computer-issues-rss-client-edition/&lt;/a&gt;&lt;/i&gt;&lt;/small&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=annathepiper&amp;ditemid=1831706" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
  <entry>
    <id>tag:dreamwidth.org,2009-05-01:143160:1820801</id>
    <link rel="alternate" type="text/html" href="https://annathepiper.dreamwidth.org/1820801.html"/>
    <link rel="self" type="text/xml" href="https://annathepiper.dreamwidth.org/data/atom/?itemid=1820801"/>
    <title>Practicing with running WordPress in Docker today</title>
    <published>2018-12-27T22:52:45Z</published>
    <updated>2018-12-27T22:52:45Z</updated>
    <category term="wordpress"/>
    <category term="docker compose"/>
    <category term="geekery"/>
    <category term="docker"/>
    <dw:security>public</dw:security>
    <dw:reply-count>2</dw:reply-count>
    <content type="html">&lt;p&gt;So one of the things I want to do during my between-jobs downtime is practice my coding. And in particular, since I thought it&amp;#8217;d be nice to a) start small and b) play with something I&amp;#8217;m actually interested in coding (as opposed to, say, just focusing on random interview-type questions which will eventually bore me to tears), I decided I&amp;#8217;d try to play with making a small WordPress plugin.&lt;/p&gt;
&lt;p&gt;I&amp;#8217;ve already done one that I&amp;#8217;m running locally on Annathepiper.org: namely, to show y&amp;#8217;all my archive of roleplay logs. Eventually I want to do a newer version of that, something that might let me actually practice setting up a simple web service.&lt;/p&gt;
&lt;p&gt;For now though I&amp;#8217;m going to do something less complicated. There&amp;#8217;s a very old plugin called &amp;#8220;lj-tag-parser&amp;#8221;. This thing has a very simple job: allowing the LJ-style syntax for usernames and communities in your WordPress posts and comments. I&amp;#8217;m using it right here on annathepiper.org, which is why you can actually see LJ-style usernames and tags if I write something like, say, &lt;nobr&gt;&lt;a href="http://www.livejournal.com/userinfo.bml?user=annathepiper"&gt;&lt;img src="http://stat.livejournal.com/img/userinfo.gif" alt="userinfo" width="17" height="17" style="margin-left: 5px; display: inline; border: 0pt none; vertical-align: middle;" /&gt;&lt;/a&gt;&lt;a href="http://www.livejournal.com/users/annathepiper/"&gt;&lt;b&gt;annathepiper&lt;/b&gt;&lt;/a&gt;&lt;/nobr&gt;.&lt;/p&gt;
&lt;p&gt;However, this thing hasn&amp;#8217;t been updated in ages. And I thought it&amp;#8217;d be nice to expand it to allow Dreamwidth-style syntax in addition to LJ-style, and possibly also allow generation of such tags via shortcodes.&lt;/p&gt;
&lt;p&gt;But before I do all of that, I wanted to make sure I could set up a clean WordPress dev install.&lt;/p&gt;
&lt;p&gt;In the past, when I&amp;#8217;ve played around with dev-type WordPress stuff, I just did this on a separate blog on my annathepiper.org network. But coming at this with my SDET hat on, I thought it&amp;#8217;d be cleaner and more appropriate to developing my coding experience if I set it up the way I&amp;#8217;d do it in a work environment.&lt;/p&gt;
&lt;p&gt;Which means a brand new, clean WordPress dev install. And in particular, using official WordPress and MySQL images from Docker.&lt;/p&gt;
&lt;p&gt;For those of you who aren&amp;#8217;t in the tech industry, suffice to say that Docker is a tool that lets you do exactly this kind of thing. You can set up a thing you want to play with in its own little container on your system, without having to worry about it interfering with anything else you might be doing. Docker lets you go about this in a few different ways. You can go get official images for things (like, say, the latest WordPress install) and do a single run using that image.&lt;/p&gt;
&lt;p&gt;Or, if you want to do something a bit more complicated (like, say, running the official WordPress image AND a MySQL image that you&amp;#8217;ll need to actually power the WordPress install), you can chain them together using a thing called Docker Compose.&lt;/p&gt;
&lt;p&gt;Docker Compose works by you setting up all the config data you need in a file called docker-compose.yml. I&amp;#8217;m still fairly new to the syntax this thing requires, but fortunately, I learned a bit about it while I was still at my previous day job at Big Fish. So I was able to utilize that knowledge to build a file that&amp;#8217;d let me set up that clean WordPress dev install I want.&lt;/p&gt;
&lt;p&gt;I did have to jump through a few hoops to get all the info I needed, though. Here are some pages that proved useful:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://medium.com/@tatemz/local-wordpress-development-with-docker-3-easy-steps-a7c375366b9"&gt;Local WordPress Development with Docker: 3 Easy Steps&lt;/a&gt; on Medium (for initial tips on what images I needed, as well as a handy note in the comments re: adding PHPMyAdmin)
&lt;li&gt;&lt;a href="https://github.com/rimiti/wordpress-dockerized-environment"&gt;WordPress Dockered Environment&lt;/a&gt; on Github (where I looked at that user&amp;#8217;s example docker-compose.yml)
&lt;li&gt;&lt;a href="https://stackoverflow.com/questions/34068671/docker-compose-wordpress-mysql-connection-refused"&gt;docker-compose wordpress mysql connection refused&lt;/a&gt; on Stack Overflow, to solve an issue I was seeing in my Compose logs
&lt;li&gt;&lt;a href="https://stackoverflow.com/questions/29924843/how-do-i-set-hostname-in-docker-compose"&gt;How Do I Set Hostname in Docker Compose?&lt;/a&gt;, also on Stack Overflow, to see what settings I needed to allow for a friendly hostname, vs. just having to say &amp;#8220;localhost&amp;#8221; in my dev URL
&lt;li&gt;&lt;a href="https://www.linode.com/docs/quick-answers/linux/wordpress-with-docker-compose/"&gt;Install WordPress with Docker Compose&lt;/a&gt; on Linode.com, which helped me solve an issue with the dev site not properly loading its assets
&lt;/li&gt;&lt;/li&gt;&lt;/li&gt;&lt;/li&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;So now, as of this writing, I have a nice little set of Docker containers running on my dev box on Linux. And the nice thing about doing this via Docker, especially, is that I could take this exact same docker-compose.yml, reboot my box into Windows, and use it there too. All I need to be running locally is Docker and Docker Compose. The rest of it comes in with the images I specify!&lt;/p&gt;
&lt;p&gt;And for the interested, I have checked in my final docker-compose.yml up on my personal Github account, and you can see it &lt;a href="https://github.com/annathepiper/wordpress-dev/blob/master/docker-compose.yml"&gt;right here&lt;/a&gt;.&lt;/p&gt;
&lt;p style="text-align: right"&gt;&lt;small&gt;Mirrored from &lt;a href="http://www.annathepiper.org/2018/12/27/practicing-with-running-wordpress-in-docker-today/" title="Read Original Post"&gt;annathepiper.org&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=annathepiper&amp;ditemid=1820801" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
</feed>
