<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Douglas “Wise” Rogers on Medium]]></title>
        <description><![CDATA[Stories by Douglas “Wise” Rogers on Medium]]></description>
        <link>https://medium.com/@standingdreams?source=rss-6f2ac2f809cb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*NDA_aSK_H1RDS041V4AomA.png</url>
            <title>Stories by Douglas “Wise” Rogers on Medium</title>
            <link>https://medium.com/@standingdreams?source=rss-6f2ac2f809cb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 19:48:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@standingdreams/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Heroku vs DigitalOcean: Deploying to Heroku]]></title>
            <link>https://medium.com/@standingdreams/heroku-vs-digitalocean-deploying-to-heroku-de7b9f86aaa0?source=rss-6f2ac2f809cb------2</link>
            <guid isPermaLink="false">https://medium.com/p/de7b9f86aaa0</guid>
            <category><![CDATA[heroku]]></category>
            <category><![CDATA[web-hosting]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[digitalocean]]></category>
            <dc:creator><![CDATA[Douglas “Wise” Rogers]]></dc:creator>
            <pubDate>Wed, 18 Sep 2019 10:31:01 GMT</pubDate>
            <atom:updated>2019-09-18T10:31:01.101Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sFha6830Jf3D64TTxfsakA.png" /><figcaption>FINALLY deployed to Heroku!!!</figcaption></figure><p><strong>The Experiment’s Table of Contents<br></strong>Part 1: <a href="https://medium.com/@standingdreams/heroku-vs-digital-ocean-an-experiment-in-the-making-ce375e7976d">An Experiment in the Making</a><br>Part 2: <a href="https://medium.com/@standingdreams/heroku-vs-digitalocean-getting-started-with-digitalocean-8d55d6c8346d">Getting Started with DigitalOcean</a><br>Part 3: <a href="https://medium.com/@standingdreams/heroku-vs-digitalocean-handling-redirects-with-digitalocean-84a190776d8e">Handling Redirects with DigitalOcean</a><br>Part 4: <a href="https://medium.com/@standingdreams/heroku-vs-digital-ocean-the-experiment-continues-1ac1b99e39b">The Experiment Continues</a><br>Part 5: Deploying to Heroku</p><p>I’ve gotten a few requests to hurry up with this experiment. It’s been a while…I know. But finally…I’ve done it: I’ve deployed <a href="https://sd-heroku.herokuapp.com/">my personal portfolio</a> to Heroku successfully!</p><p>If you don’t already know, Heroku is an ephemeral PaaS. Again, I’m a front-end guy so that statement is foreign language to me. Ultimately, it means that while it allows you to deploy a website onto the platform, it does not give you full hosting like say <a href="https://m.do.co/c/0d5110e21375">DigitalOcean</a> or <a href="https://mdtm.pl/2V5anVA">MediaTemple</a>. You have to figure out database and image management yourself. They do have a ton of add-ons (which we will get into later) that can aid in this process. However, if you are not careful the cost for these addons can pile up quickly. Heroku offers a free tier so that you can test. You get 1,000 dyno hours per month. Be careful because that is a 1,000 dyno hours a month for ALL free applications under your account…not 1,000 per application.</p><p>Considering this is a portfolio site and I’m not famous (…yet) traffic to my portfolio is abysmal. Keeping my portfolio on Heroku’s free tier doesn’t seem like a huge issue to me. I have the ability to add a custom domain to the site. The only challenge is that free dynos do not stay woke. Meaning after 30 minutes of inactivity, it goes to sleep and has to be re-awaken. That re-awaken period can take a second for visitors. There are <a href="https://medium.com/@marklocklear/a-tip-for-keeping-your-heroku-app-alive-is-to-set-up-a-monitoring-service-statuscake-is-free-to-4b1163d0919">methods</a> to make sure your dyno remains on but…that’s for another post. Also, going to a paid tier allows me to add a SSL certificate to the domain.</p><p>Going back to my list, my next steps were as follows: — Find a cloud database solution — Install Perch’s Cloudinary Template filter onto the site — Connect Github and Heroku — Deploy site to Heroku</p><p>First things first, I had to create a Heroku app. There are a few ways to make that happen. You can do this the Matrix Way (aka command line) or the WYSIWYG Way (aka Heroku’s dashboard). I wanted to feel like a super backend developer so I opted the Matrix Way. I followed the <a href="https://devcenter.heroku.com/articles/getting-started-with-php">instructions</a> for the PHP setup since the site is ran on PHP but built using NodeJS.</p><p>Note: When running a site on Heroku with PHP, you have to have a composer.json file. My file is completely empty considering I don’t have any PHP dependencies on the site. The file still is needed as it indicates that you have PHP site that needs to be built. This is Heroku’s attempt at a zero configuration set up.</p><p>By the end of the instructions, you’ve got your site up and running…but I still needed to add NodeJS to my build since I don’t ship any destination files via Git. I won’t lie: THIS PART KICKED MY BUTT. After a lot of testing and experimenting, I finally wrapped my head around <a href="https://devcenter.heroku.com/articles/using-multiple-buildpacks-for-an-app">adding a new Buildpack</a> and was able to get my site built and deployed properly to Heroku.</p><p>Next, it was time to get a database together. Remember those addons I spoke of? Well, Heroku has a bunch of them to help you out in this department. I ended up using <a href="https://elements.heroku.com/addons/cleardb">ClearDB</a> for the database. I opted to leave my WordPress instance out of the Heroku part of the experiment. We’ll talk more to that in the final post.</p><p>Next, was the images that get uploaded to Perch. All of my portfolio screenshots are uploaded via the backend of Perch. So what I needed as a way to easily host these images. Heroku does have addons like <a href="https://elements.heroku.com/addons/cloudcube">Cloudcube</a> and <a href="https://elements.heroku.com/addons/hdrive">HDrive</a> but I wanted something a little more easy and cheaper. I landed on Cloudinary as my cloud asset host. You can see more about my decision in my <a href="https://medium.com/@standingdreams/heroku-vs-digital-ocean-the-experiment-continues-1ac1b99e39b">previous post</a>. I did chose to scrap Perch’s Cloudinary Template filter. I found one but decided against using it and just simply used the <a href="https://cloudinary.com/documentation/fetch_remote_images">Autoupload method</a> of getting images into Cloudinary.</p><p>The last part to figure out was how to get environment variables to point to the database. On <a href="https://m.do.co/c/0d5110e21375">DigitalOcean</a>, I could simply upload a config.local.php file to my site that was not kept inside of Git. Heroku doesn&#39;t have an FTP option so I was left with their config variables in the app settings. This feature was pretty nifty since now all my private data is left outside of Git and still accessible to the app.</p><p>After figuring all the above out, I must say…Heroku is not that bad. Figuring all this stuff out is a pain in the butt. However, once you get it down, it makes for a great and cheap alternative to traditional hosting for sites that don’t receive a lot of traffic.</p><p>And that’s it folks. I’m going to sit on this site for a little bit. I would love fabricate some traffic to the site to see how it handles it. That way I can experiment with scaling the site up. Let me know in the comments if you guys would like to see a video version of this experiment that walks thru all the steps and my thought process.</p><p><em>Disclaimer: Some of the links provided in this article are referral links where I get bonus time on the services if you click and sign up.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de7b9f86aaa0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Heroku vs Digital Ocean: The Experiment Continues]]></title>
            <link>https://medium.com/@standingdreams/heroku-vs-digital-ocean-the-experiment-continues-1ac1b99e39b?source=rss-6f2ac2f809cb------2</link>
            <guid isPermaLink="false">https://medium.com/p/1ac1b99e39b</guid>
            <category><![CDATA[perch-cms]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[heroku]]></category>
            <category><![CDATA[cloudinary]]></category>
            <category><![CDATA[digitalocean]]></category>
            <dc:creator><![CDATA[Douglas “Wise” Rogers]]></dc:creator>
            <pubDate>Thu, 04 Apr 2019 12:31:02 GMT</pubDate>
            <atom:updated>2021-07-26T02:05:48.828Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sFha6830Jf3D64TTxfsakA.png" /><figcaption>Don’t call it a comeback…</figcaption></figure><h3>Heroku vs DigitalOcean: The Experiment Continues</h3><p><strong>The Experiment’s Table of Contents<br></strong>Part 1: <a href="https://medium.com/@standingdreams/heroku-vs-digital-ocean-an-experiment-in-the-making-ce375e7976d">An Experiment in the Making</a><br>Part 2: <a href="https://medium.com/@standingdreams/heroku-vs-digitalocean-getting-started-with-digitalocean-8d55d6c8346d">Getting Started with DigitalOcean</a><br>Part 3: <a href="https://medium.com/@standingdreams/heroku-vs-digitalocean-handling-redirects-with-digitalocean-84a190776d8e">Handling Redirects with DigitalOcean</a><br>Part 4: The Experiment Continues</p><p>Hello, my fellow developers, DevOps folks and curious tinkerers. It’s been quite some time since I started this project. One year, one month and three days ago to be exact. I know I’ve been absent from updates on this project but I have not forgotten about it.</p><p>When we left off, I had just moved from MediaTemple to <a href="https://m.do.co/c/0d5110e21375">Digital Ocean</a>, used their amazing documentation to get a droplet set up, MAMP stack installed, Perch installed, Let’s Encrypt scheduled to automatically renew and site up and running. If you have visited <a href="http://www.standingdreams.com/">http://www.standingdreams.com</a> since March 2018, you would have been visiting the site on the <a href="https://m.do.co/c/0d5110e21375">Digital Ocean</a> hosting.</p><p>The goal was to live with <a href="https://m.do.co/c/0d5110e21375">Digital Ocean</a> for a month or so and then transition over to Heroku. After a month, I began the task of moving to Heroku. Aside from getting married, having a child and starting a new job in the middle of this project, there were a few other challenges I faced with Heroku that put the project on pause. A lot of platform hurdles…a little laziness, also. 😊</p><p>The nature of Heroku is to spin up <a href="https://devcenter.heroku.com/articles/dynos">dynos</a> (lightweight Linux containers) that are ephemeral. What this means is that once you spin up a new container, that container receives a brand-spanking-new environment of your code. This is perfect for static sites but with a site ran on WordPress or most content management systems, this is not good. CMSs provide a way for you to upload new assets (PDFs, images, etc) into the platform that is generally hosted in the same place as your CMS. SO when you go to spin up a new version of the site, those files you’ve upload do not go for the ride. They are destroyed along with the previous version of the site.</p><p>To overcome this challenge you can host your assets in a cloud storage service like Amazon S3. For me, I wanted to host them with <a href="https://cloudinary.com/invites/lpov9zyyucivvxsnalc5/p9fa8ue3circprahorjr">Cloudinary</a>. Cloudinary not only manages assets but also optimizes the images by devices, serves the image via multiple CDNs, image manipulations, and more. They have a free tier that works very well for me but if you need more storage and features, their paid tiers are competitive.</p><p>Cloudinary provides a way to automatically upload images, called <a href="https://cloudinary.com/documentation/upload_images#auto_fetching_remote_images">auto-fetching</a>, to the service by prepending a URL to all image URLs on your site. I found myself stuck wanting to create a plugin to replace Perch’s image plugin to upload images to the platform. In between all that procrastination, someone created a plugin (or a <a href="https://grabapipit.com/pipits/template-filters/cloudinary">template filter</a>).</p><p>Now that the “hard part” is done, the plan is to stand Standing Dreams up on Heroku within the next two weeks. Below are a few of the steps to make that happen.</p><ul><li>Find a cloud database solution</li><li>Install Perch’s Cloudinary Template filter onto the site</li><li>Connect Github and Heroku</li><li>Deploy site to Heroku</li></ul><p>Since Heroku allows for a site without the need of connecting to a domain, this gives me the opportunity to experiment on a temporary domain without changing the URL to Standing Dreams.</p><p>If you guys have any suggestions for cloud database solutions, please let me know. Also, I’ve been flirting with the idea of turning this blog series into a video series. Even recording the <a href="https://m.do.co/c/0d5110e21375">Digital Ocean</a> pieces to show the creation of the droplet and the installation of the Perch site. Let me know if you guys would be interested in seeing that in the comments below.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1ac1b99e39b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Heroku vs DigitalOcean: Handling Redirects with DigitalOcean]]></title>
            <link>https://medium.com/@standingdreams/heroku-vs-digitalocean-handling-redirects-with-digitalocean-84a190776d8e?source=rss-6f2ac2f809cb------2</link>
            <guid isPermaLink="false">https://medium.com/p/84a190776d8e</guid>
            <category><![CDATA[apache]]></category>
            <category><![CDATA[digitalocean]]></category>
            <category><![CDATA[web-hosting]]></category>
            <dc:creator><![CDATA[Douglas “Wise” Rogers]]></dc:creator>
            <pubDate>Thu, 01 Mar 2018 12:36:01 GMT</pubDate>
            <atom:updated>2019-09-17T18:02:50.892Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>The Experiment’s Table of Contents<br></strong>Part 1: <a href="https://medium.com/@standingdreams/heroku-vs-digital-ocean-an-experiment-in-the-making-ce375e7976d">An Experiment in the Making</a><br>Part 2: <a href="https://medium.com/@standingdreams/heroku-vs-digitalocean-getting-started-with-digitalocean-8d55d6c8346d">Getting Started with DigitalOcean</a><br>Part 3: Handling Redirects with DigitalOcean<br>Part 4: <a href="https://medium.com/@standingdreams/heroku-vs-digital-ocean-the-experiment-continues-1ac1b99e39b">The Experiment Continues</a></p><p>I asked for total control and I got total control. One of the first issues I came across was that my site was no longer reading my .htaccess file. I had all these lovely redirects for previous blogs, non-www traffic, etc. Welp…all gone. I was so used to <a href="http://bit.ly/2hnP7tF">MediaTemple</a> handling that for me. Well, those days are gone now that I’m on DigitalOcean, or at least until the end of my 30 days are over.</p><p>I had to get my hands dirty if I wanted to get my redirects back in order. That meant turning to DigitalOcean’s documentation. Apache does not allow .htaccess files to override things out the box. Not sure why. I’m sure it’s a good reason but that reason is beyond me. Again…I’m not a DevOps guys. You can do this one of a few ways: via the command line or FTP into your Droplet and navigate to /etc/apache2/apache2.conf. I chose the latter. But also not that you STILL will need to access your Droplet via command line so that you can restart Apache and enable mod_rewrite.</p><p>Towards the bottom of apache2.conf you want to add the following:</p><pre>&lt;Directory /var/www/html/&gt;<br>    AllowOverride All<br>&lt;/Directory&gt;</pre><p>Save this out, turn to the command line if you are not already there and <a href="https://www.digitalocean.com/community/tutorials/how-to-connect-to-your-droplet-with-ssh">SSH into your Droplet</a>. You’re going to need mod_rewrite so that WordPress can use permalinks and various other reasons. To enable mod_rewrite insert the following after you’ve logged into your Droplet via SSH:</p><pre>sudo a2enmod rewrite</pre><p>You can run sudo apache2ctl configtest to ensure that you haven’t made any syntax errors. You should see Syntax OK. If you see the following, that’s fine:</p><pre>AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1. Set the ‘ServerName’ directive globally to suppress this message </pre><p>If you want to suppress this message, we will need to open the main configuration file:</p><pre>sudo nano /etc/apache2/apache2.conf</pre><p>At the bottom of this file you will need to add what’s called a ServerName directive pointing to your domain (or IP Address if you have not set up your domain yet).</p><pre>ServerName replace_this_with_your_server_domain_or_IP_here</pre><p>Save and close the file when you are finished. You can re-run sudo apache2ctl configtest and you should not get that long message above Syntax OK.</p><p>Last but not least, restart Apache.</p><pre>sudo systemctl restart apache2</pre><p>Pretty intense, right? Well, that was just the beginning. You still have to add rules to 000-default-le-ssl.conf if you installed a SSL Certificate! Like I said before: if you are scared of the command line or running things yourself, run away!!!</p><p>Navigate to /etc/apache2/sites-available/000-default-le-ssl.conf in you FTP client or open it up in the command line by typing sudo nano /etc/apache2/sites-available/000-default-le-ssl.conf. We want to add rewrite rules in here. You could enable .htaccess files and do it that way but since I have control over config files, I figured I’d do it this way.</p><pre>RewriteEngine On<br><strong>RewriteCond</strong> %{HTTP_HOST}   !^www\.example\.com [NC]<br><strong>RewriteRule</strong> ^/(.*)         https://www.example.com/$1 [L,R]</pre><p>Replace example.com with your own domain. If you are looking to use a non-www URL for your site, remove the www. from the block above. Save the file and restart Apache.</p><pre>sudo systemctl restart apache2</pre><p>Again, not for the faint at heart. If you are having issues yourself, I suggest you refer to DigitalOcean’s amazing documentation for more help.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=84a190776d8e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Heroku vs DigitalOcean: Getting Started with DigitalOcean]]></title>
            <link>https://medium.com/@standingdreams/heroku-vs-digitalocean-getting-started-with-digitalocean-8d55d6c8346d?source=rss-6f2ac2f809cb------2</link>
            <guid isPermaLink="false">https://medium.com/p/8d55d6c8346d</guid>
            <category><![CDATA[digitalocean]]></category>
            <category><![CDATA[web-hosting]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[heroku]]></category>
            <dc:creator><![CDATA[Douglas “Wise” Rogers]]></dc:creator>
            <pubDate>Wed, 28 Feb 2018 12:56:00 GMT</pubDate>
            <atom:updated>2019-11-22T14:28:18.192Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>The Experiment’s Table of Contents<br></strong>Part 1: <a href="https://medium.com/@standingdreams/heroku-vs-digital-ocean-an-experiment-in-the-making-ce375e7976d">An Experiment in the Making</a><br>Part 2: Getting Started with DigitalOcean<br>Part 3: <a href="https://medium.com/@standingdreams/heroku-vs-digitalocean-handling-redirects-with-digitalocean-84a190776d8e">Handling Redirects with DigitalOcean</a><br>Part 4: <a href="https://medium.com/@standingdreams/heroku-vs-digital-ocean-the-experiment-continues-1ac1b99e39b">The Experiment Continues</a></p><p>The reason I’m getting started with this project is because I ran across this Chrome extension that does a variety of audits on your websites including SEO, security and performance. I got a 35% in the security department. While trying to figure out ways to increase that score, I realized how little I was able to do that with my <a href="http://bit.ly/2hnP7tF">MediaTemple</a> GridContainer. I contacted MediaTemple to ask how I could alter the httpd.conf file and they told me I didn’t have access to the root because I was on shared hosting. Unacceptable.</p><p>Between <a href="https://m.do.co/c/0d5110e21375">DigitalOcean</a> (I will refer to DigitalOcean as DO from here on) and Heroku, DO is definitely the platform that gives me the most control over my server. As I mentioned in the previous post, DigitalOcean is an IaaS, so they give us a server and leaves it up to me to decide upon and make use of other software to setup, interact, maintain and deploy code to the server. If I want a LAMP stack, then I must decide what version of Ubuntu to use, install Apache, setup a firewall, install MySQL, install PHP and its various components and PHPMyAdmin.</p><p>Luckily, DO provides <a href="https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-16-04">great documentation</a> to help you get off the ground with all of this. I had no problems following the steps and had my server up and running with in x. If working in the command line gives you the heebie jeebies, then first off you may not want to explore this project. You will be all up and through the command line working with DO so just stay away. Secondly, DO makes it easy for you by providing one-click apps that have a variety of pre-configured applications for you to use, including LEAN stack, WordPress, MongoDB and PHPMyAdmin. The command line makes me feel like I’m in the Matrix so I’m starting from the bottom floor of it all and installing every single thing by myself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l-VM3bPFZRwoOMfor0agXA.png" /></figure><p>DO has superb documentation on how to do everything from <a href="https://www.digitalocean.com/community/tutorials/how-to-create-your-first-digitalocean-droplet">creating your first Droplet</a> to <a href="https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-16-04">installing Linux, Apache, MySQL and PHP on on Ubuntu</a>. I decided to run with Ubuntu 16.04.3. DO has version 17.10 available but after some research, there wasn’t much of a difference and the documentation uses 16.04.3 so I kept it that way for consistency. I’m not going to get into too much details of my set up because it was pretty basic for setting up this experiment. I figured that I’d start low and scale up if I need to, <a href="https://www.digitalocean.com/community/tutorials/how-to-resize-your-droplets-on-digitalocean">which DO makes possible</a>.</p><p>The one challenging part that I came across was installing PHP packages. I had to do a little digging on what packages would be necessary for WordPress as a base to start off with. My logic was if I start there I would have a solid foundation. But if anything breaks…meh, it’s my site. For those looking for this answer, these are the PHP packages I ended up installing:</p><p>- php7.0-cgi<br>- php7.0-cli<br>- php-dev<br>- php-all-dev<br>- php7.0-mysql<br>- php7.0-xmlrpc<br>- php7.0-curl<br>- php7.0-gd<br>- php-apcu<br>- php-pear<br>- php7.0-pspell</p><p>Make sure that you are using PHP7 or else you’ll need a different set of packages.</p><p>Once I was done with installing all those packages, I moved on to database management. I was going to use PHPMyAdmin but figured I could rely on good ole’ <a href="https://sequelpro.com/">Sequel Pro</a>. That would be one less thing I have to install and secure. Just note the MySQL Host and SSH Host are your Droplet’s IP Address and Sequel Pro automatically checks for the usual location ~/.ssh for SSH Keys. If you have it in a custom location, you’ll need to point Sequel Pro there.</p><p>From Sequel Pro, I created a database user and created a database for WordPress and <a href="https://grabaperch.com/ref/roger6/">Perch</a>. Note: if you want to connect to Sequel Pro with that new database user, the Username and Password is the new database user’s name and its password while the SSH Host and SSH User is still the root server user. In the tutorial, it recommends you create a different server user than root and I recommend you use that server user. I know…that’s a tad confusing but it will make sense once you go thru all the documentations. I may just create a separate post</p><p>After the database was all ready, I uploaded my portfolio. I was met with this initially:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M7wOnGz63fWRaPZRwY4nww.png" /><figcaption>At this moment I’m thinking “OMG!!! What is happening?!?!”</figcaption></figure><p>It took me a minute to discover the “<a href="https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-lamp-on-ubuntu-16-04">How To Install WordPress with LAMP on Ubuntu 16.04</a>&quot; for some reason (read: I discovered it a while ago but did not follow the instructions) and that left me in the dark about enabling .htaccess, mod_rewrite, and disabling indexes. I figured it out eventually (again…followed the instructions properly) but it was painful before discovering that tutorial.</p><p>After pulling my hair out and downing a bottle of whiskey, I finally had my portfolio up and running. Then I turned my attention to the WordPress blog. Let me say this: No one probably visits my WordPress blog. It is the first version of <a href="https://www.standingdreams.com/">Standing Dreams</a> and was like a music/lifestyle blog and my portfolio. BUT, for the purposes of this blog series, I wanted to maintain it and see what it takes to move from one service to the next.</p><p>I got my portfolio up. I got my blog up. Now it’s time to move on to the big move. I had to wait a few days because my domain was with Media Temple and I wanted to move it to Google Domains. After getting all that situated, it was a pretty easy move. I was able to install my <a href="https://letsencrypt.org/">Let’s Encrypt</a> SSL Certificate relatively easy as well. With Media Temple, I had to go thru a crazy process to install a SSL Certificate from Let’s Encrypt. They also would not allow me to auto renew this SSL Certificate so every 90 days I was renewing my SSL Certificate.</p><p>So far, so good. I definitely have full control over my server. I will keep you guys updated with challenges I face over the next few weeks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8d55d6c8346d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Heroku vs Digital Ocean: An Experiment in the Making]]></title>
            <link>https://medium.com/@standingdreams/heroku-vs-digital-ocean-an-experiment-in-the-making-ce375e7976d?source=rss-6f2ac2f809cb------2</link>
            <guid isPermaLink="false">https://medium.com/p/ce375e7976d</guid>
            <category><![CDATA[web-hosting]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[digitalocean]]></category>
            <category><![CDATA[heroku]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Douglas “Wise” Rogers]]></dc:creator>
            <pubDate>Thu, 22 Feb 2018 13:36:00 GMT</pubDate>
            <atom:updated>2019-09-17T18:02:23.921Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6O2HZA1qD1ObxKpfKpWcHQ.png" /><figcaption>Battle of the Hosting Titans or A Project That Will Drive Me Crazy…?</figcaption></figure><p><strong>The Experiment’s Table of Contents<br></strong>Part 1: An Experiment in the Making<br>Part 2: <a href="https://medium.com/@standingdreams/heroku-vs-digitalocean-getting-started-with-digitalocean-8d55d6c8346d">Getting Started with DigitalOcean</a><br>Part 3: <a href="https://medium.com/@standingdreams/heroku-vs-digitalocean-handling-redirects-with-digitalocean-84a190776d8e">Handling Redirects with DigitalOcean</a><br>Part 4: <a href="https://medium.com/@standingdreams/heroku-vs-digital-ocean-the-experiment-continues-1ac1b99e39b">The Experiment Continues</a></p><p>I have been a loyal customer of <a href="http://bit.ly/2hnP7tF">MediaTemple</a> for years. They made my hosting needs extremely easy. I loved the customer service. I hosted sites for friends and family with ease. I just loved it.</p><p>However, as I got further into my development career and wanted more, I felt my tier was very lacking. I was paying $20 a month for a GridContainer. While it served my basic needs, it left me with no access to the root where all the fun happens. Being a true tinker, this was unacceptable. At the company I worked at, we use Heroku and <a href="https://m.do.co/c/0d5110e21375">DigitalOcean</a> on a few sites. I loved features that came with Heroku but I loved the control that came with DigitalOcean.</p><p>Like any great developer, I turned to Google for some good comparisons between DigitalOcean and Heroku. I found a few blog posts and Quora posts but nothing answered my questions exactly. I wanted someone to spell it out for me. You know…make my life easier. Isn’t that what Google is for?? Since I couldn’t find the answers, I figured I’d do a little experiment to answer my own question. Plus it gave me a chance to play with new stuff. (TOYS!!!)</p><blockquote>Heroku is a PaaS — i.e. Platform as a service, letting you run apps on their platform their way. Digital Ocean is an IaaS, or Infrastructure as a Service, which gives you raw servers to compose as you want to run your app. The differences are mainly around pricing and control vs effort.</blockquote><blockquote>— An answer on <a href="https://www.quora.com/What-is-better-Heroku-or-Digital-Ocean">Quora</a> by <a href="https://www.quora.com/profile/Russell-Smith-1">Russell Smith</a></blockquote><p>For starters, I am not a DevOps guy. I’m a front-end developer with some backend chops. I have worked in both, DigitalOcean and Heroku, before but it was like someone’s grandmother poking around an iPhone: slow and cautious with lots of questions and fear I would burn the internet down with every click. I do know that Heroku is a PaaS (Platform as a Service) and DigitalOcean is a IaaS (Infrastructure as a Service). The comparison between the two only comes up because people rely on both in some capacity for hosting for some sort of site, web app or API. However, because they are basically different, there are less solid answers as to which you should turn to when you’re looking for a new hosting solution.</p><p>SO here we are! My goal is to take <a href="http://www.standingdreams.com/">my portfolio</a> that is ran off of <a href="https://grabaperch.com/ref/roger6/">Perch CMS</a> and <a href="http://www.standingdreams.com/lifestyle">a legacy WordPress blog</a>, host them on both services for one month each and record my findings. AGAIN…I am by no means a DevOps guy. I will be depending the services’ documentation, customer service reps, <a href="https://stackoverflow.com/users/4240495/douglas-rogers">StackOverflow</a> and Google for all of my needs. Since I have credits with DigitalOcean (and because my coworker called heads for DigitalOcean on a coin toss), DigitalOcean will be first up.</p><p>I’ll simply post findings, frustrations, tip and tricks, rants and raves about my experience for the next person that is looking at Heroku and <a href="https://m.do.co/c/0d5110e21375">DigitalOcean</a> for their hosting needs.</p><p>Wish me luck. 👍🏾</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ce375e7976d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Output: The Byproduct of Burning Desire]]></title>
            <link>https://medium.com/@standingdreams/output-the-byproduct-of-burning-desire-c43cfc972c6b?source=rss-6f2ac2f809cb------2</link>
            <guid isPermaLink="false">https://medium.com/p/c43cfc972c6b</guid>
            <category><![CDATA[self-awareness]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[learning]]></category>
            <dc:creator><![CDATA[Douglas “Wise” Rogers]]></dc:creator>
            <pubDate>Tue, 15 Mar 2016 16:01:01 GMT</pubDate>
            <atom:updated>2016-06-06T20:35:58.354Z</atom:updated>
            <content:encoded><![CDATA[<p>Someone once told me you’re supposed to read 2–4 books a year. I’ve heard of people reading 1–2 books a month. The notion of massive knowledge consumption is scary to me. I begin thinking about what are you doing with all that consumption? All of that information, where is it going? How are you utilizing it? It’s as if you are welcoming overload into your life.</p><p>Throughout the year, I fluctuate between a consumption phase and an output phase. I reach points where I feel I don’t know enough. Whether it’s a certain topic or about life, in general. I begin to seek answers to these burning questions. I Google everything. I Wikipedia everything. I look for new blogs to read and magazines to take in the images. I sit with people of different disciplines and backgrounds. I pick their brains and ask what makes them tick and how they found their success. I break things apart to see what’s on the inside. Then I put it back together to learn the building process. I scourer YouTube, Vimeo and Instagram.</p><p>By the end of this phase, aside from acquiring a massive migraine, I have gathered a lot of knowledge, insight and data. I try to keep it all organized as best I can. Whether in my yearly Moleskine or in my newfound best friend: <a href="https://www.evernote.com/referral/Registration.action?sig=c57e96a9abe5a7fc4380f238ec4a1daf&amp;uid=4323571">Evernote</a>. Some times I go back to my findings. Most times they end up sitting there like a hoarder of ideas.</p><p>I know that I’ve reached the end of this phase when I begin to get this itch to create. This desire for output. Not just <strong>any</strong> output though. Tasteful output. Inspired by great design. Something touching and moving. Groundbreaking. It’s not driven by money or fame. It’s driven by the art. The craftsmanship of it all. Whether it’s a well put together paragraph or a pixel perfect design. The perfect 808 drum pattern or a decadent melody. It doesn’t matter. It’s a burning desire to generate this thing that out of all the input that I’ve taken in.</p><p>I get excited at the thought of what that output can potentially be. The saying goes that curiosity killed the cat. I think it takes creativity to bring that same cat back to life. It takes thinking outside of the box to take what’s thought to not be possible and make it reality.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c43cfc972c6b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Changing Safari Keyboard Shortcut to Change Tabs (or any Mac application)]]></title>
            <link>https://medium.com/@standingdreams/changing-safari-keyboard-shortcut-to-change-tabs-or-any-mac-application-e06730faead2?source=rss-6f2ac2f809cb------2</link>
            <guid isPermaLink="false">https://medium.com/p/e06730faead2</guid>
            <category><![CDATA[mac]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[safari-browser]]></category>
            <dc:creator><![CDATA[Douglas “Wise” Rogers]]></dc:creator>
            <pubDate>Wed, 17 Feb 2016 17:01:00 GMT</pubDate>
            <atom:updated>2016-02-22T15:43:00.970Z</atom:updated>
            <content:encoded><![CDATA[<p>Recently, I did a fresh install of El Capitan on a few of my systems. A co-worker has been telling me how much he loves Apple’s Safari over Google Chrome. Although I prefer Chrome as my browser for development, I decided to give Safari a try for every day use. I will admit that it’s been a great experience overall. My only issue are a few of the shortcuts. Specifically the <em>CTRL+Tab</em> and <em>CMD+Shift+arrow keys</em> to change window tabs.</p><p>To me, those shortcuts suck. If you’re focused on the address bar and use <em>CMD+Shift+Right Arrow</em>, it doesn’t change tabs. Then, depending on what you’re focused on, <em>CTRL+Tab</em> doesn’t always change tabs. It just toggles between the other items that you’re focused on. Long story short, it wasn’t as easy as Google Chrome’s <em>CMD+Option+arrow keys</em>.</p><p>I did a little digging and right before my eyes, there was the solution: create the shortcut yourself. First navigate to <em>System Preferences &gt; Keyboard &gt; Shortcuts &gt; App Shortcuts</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*RuCtxfefAkBq5ERC3oM-4A.png" /><figcaption>Assigning App Shortcuts in System Preferences</figcaption></figure><p>Click the plus sign. An option to select any application installed on your Mac comes up. Select Safari, and then you want to type in the menu title of the menu command you want to change. To find this exact name, open Safari, and go to the Window menu.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/912/1*smGPgh86eFS4b2Pn417dYQ.png" /></figure><p>You’ll see the exact name of the menu command that you are trying to change. <strong><em>FYI:</em></strong> If you did like me and opened Safari with just one tab, you’ll notice that the options will be greyed out. Open another tab and the options will become active. Now you can test and see which menu command you want to assign your keyboard shortcut to.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*naQFiNAnmhoZm9IRH0MAVA.png" /></figure><p>Type that command into the Menu Title text box in the System Preference. Then in the Keyboard Shortcut, press the keys you want to assign to this shortcut. For me, I wanted <em>CMD+Option+Right Arrow</em> to assign to “Show Next Tab” menu command. Hit <em>Add</em> and you’re done.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/849/1*zOyP_oQHX67eN1G0CRcJfw.png" /></figure><p>This method can create keyboard shortcuts for any application installed on your system.</p><p>PS: Here’s the link to <a href="http://www.valetmag.com/living/features/2016/four-ways-meditation-will-improve-your-brain-021716.php"><em>“4 Ways meditation Will Improve Your Brain”</em></a> off Valet’s website that’s shown in the screenshot above.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e06730faead2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Opening Sublime Text from Terminal]]></title>
            <link>https://medium.com/@standingdreams/opening-sublime-text-from-terminal-d0a7f4808193?source=rss-6f2ac2f809cb------2</link>
            <guid isPermaLink="false">https://medium.com/p/d0a7f4808193</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[sublimetext]]></category>
            <dc:creator><![CDATA[Douglas “Wise” Rogers]]></dc:creator>
            <pubDate>Thu, 11 Feb 2016 17:01:01 GMT</pubDate>
            <atom:updated>2016-02-11T17:01:01.012Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JWmzVHD6wbegnyTckxKDgw.gif" /></figure><p>I love <a href="https://www.sublimetext.com/3">Sublime Text</a>. And although I HATE Terminal sometimes, it’s a tool that I cannot escape. Git is necessary and since I have not gotten into GUI Git clients like <a href="https://www.git-tower.com/">Tower</a> or <a href="https://www.sourcetreeapp.com/">SourceTree</a> (Read: I’m too lazy to learn them), I am stuck using Terminal for my Git commands. Since Git is where it all starts, opening a directory in Sublime Text is a function that is greatly appreciated. Luckily, Sublime Text comes with a <em>subl</em> command-line interface.</p><p>I recently did a fresh install of El Capitan on my MacBook Pro and had to hunt down how to make this feature available from terminal. However, since I use ZSH, <a href="http://olivierlacan.com/posts/launch-sublime-text-3-from-the-command-line/">my usual suspect</a> didn’t work. SO I had to hunt down how to do this with ZSH installed.</p><p>First, get to your /usr/local/bin directory.</p><pre>cd /usr/local/bin</pre><p>From there, run this command:</p><pre>ln -s &quot;/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl&quot; sublime</pre><p>What this command does is creates a symlink between the subl CLI that ships with Sublime Text to your /usr/local/bin directory. I like my command to be sublime versus subl, so I named it “sublime” at the end. You can name it whatever you like, but as for me…sublime works fine.</p><p>Now you can run a few tests to see if this is working by opening terminal and running:</p><pre>sublime ~/Downloads</pre><p>Or open the current directory with</p><pre>sublime .</pre><p><em>I have to shout out </em><a href="http://olivierlacan.com/posts/launch-sublime-text-3-from-the-command-line/"><em>Oliver Lacan</em></a><em> for laying the foundation for this post. I just wanted to give a solution for those using ZSH.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d0a7f4808193" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Phantom Password Manager Icons]]></title>
            <link>https://medium.com/@standingdreams/phantom-password-manager-icons-8dfb0de7ddbf?source=rss-6f2ac2f809cb------2</link>
            <guid isPermaLink="false">https://medium.com/p/8dfb0de7ddbf</guid>
            <category><![CDATA[html-css]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[debugging]]></category>
            <dc:creator><![CDATA[Douglas “Wise” Rogers]]></dc:creator>
            <pubDate>Wed, 10 Feb 2016 22:30:25 GMT</pubDate>
            <atom:updated>2016-02-12T22:00:38.993Z</atom:updated>
            <content:encoded><![CDATA[<p>Internet security is the thing these days. February 9 (yesterday from this writing) was <a href="https://www.saferinternetday.org/">Safer Internet Day</a>. In an effort to make sure my internet properties are safe, I have turned to <a href="https://www.dashlane.com/en/cs/3ba0180a">Dashlane</a>. A VERY cool product that I recommend to many people. It allows you to create super safe passwords and keeps them safe in one location. When I want to login to a site, <a href="https://www.dashlane.com/en/cs/3ba0180a">Dashlane</a> offers icons next to form fields and auto populates my email address and password to that site. It even does auto-populating for newsletters and much more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uHuEoKKvMjkHTbSyYtCNKg.png" /></figure><p>Those handy little icons are absolutely positioned span tags that get served on to the page via JavaScript. The problem comes when you have forms inside of hidden divs. Yes, the form is gone, but for some reason the icons are still there. <em>(see screenshot below)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4DI5XzILxXymKxAnKcDd2A.png" /></figure><p>What I have found is that in order to get rid of these, you have to wrap your form inputs and textareas inside of a div and set the div’s position to relative. They clean up phantom icons for those that use password managers and everyone is happy. If you happen to come across this issue, like I did with the <a href="https://makr.com/">Makr’s</a> website, be sure to contact the site and let them know so that they can fix the issue.</p><p><em>PS: Super sorry to </em><a href="https://makr.com/"><em>Makr’s</em></a><em> for using you as a guinea pig. I love the look of your products, though.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8dfb0de7ddbf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Perch CMS is Awesome]]></title>
            <link>https://medium.com/@standingdreams/perch-cms-is-awesome-f10564129f32?source=rss-6f2ac2f809cb------2</link>
            <guid isPermaLink="false">https://medium.com/p/f10564129f32</guid>
            <category><![CDATA[perch-cms]]></category>
            <category><![CDATA[cms]]></category>
            <category><![CDATA[development]]></category>
            <dc:creator><![CDATA[Douglas “Wise” Rogers]]></dc:creator>
            <pubDate>Mon, 08 Feb 2016 16:37:08 GMT</pubDate>
            <atom:updated>2016-02-08T16:37:08.481Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q-O3R-u85peNZl_qxCG_sA.png" /></figure><p>I’ve been working with <a href="http://grabaperch.com/ref/roger6/">Perch CMS</a> since I started at The Morrison Agency. It’s an amazing CMS that lets you give the end-user better control over his/her content. Sometimes I wish it was more popular than it currently is so that there would be a swarm of support forums, posts, and more about minor items. They have their own forum and even a Slack group (shout out all my PerchChat members!) but sometimes you want to be able to Google an issue and find a quick fix.</p><p>In an effort to help create that “<em>Google-able</em>” help, I want to begin posting some of the issues and items that I come across here on my Medium blog.</p><h4>Stay tuned.</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f10564129f32" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>