<?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 Trevor Shim on Medium]]></title>
        <description><![CDATA[Stories by Trevor Shim on Medium]]></description>
        <link>https://medium.com/@trevorshim?source=rss-859345ad5b51------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*0d2BjdCCxU_K4at4BEFVQQ.jpeg</url>
            <title>Stories by Trevor Shim on Medium</title>
            <link>https://medium.com/@trevorshim?source=rss-859345ad5b51------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 09:31:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@trevorshim/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[History of PaaS: How Canon almost became a major cloud provider]]></title>
            <link>https://medium.com/porter-dev/history-of-paas-how-canon-almost-became-a-major-cloud-provider-e01f5852e174?source=rss-859345ad5b51------2</link>
            <guid isPermaLink="false">https://medium.com/p/e01f5852e174</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[paas]]></category>
            <dc:creator><![CDATA[Trevor Shim]]></dc:creator>
            <pubDate>Thu, 19 Aug 2021 20:05:25 GMT</pubDate>
            <atom:updated>2021-08-19T20:05:25.014Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5M3crLcfGsFj77oMxOfuHQ.jpeg" /></figure><p><em>This post is part of the 3-part History of PaaS series.</em></p><p>When you hear the term “PaaS” (i.e. Platform as a Service), Heroku is probably the first platform that comes to your mind. However, while Heroku did play a significant role in establishing PaaS as its own class of product, it was not the first of its kind. One of the very first PaaS offerings in history actually belonged to Canon (<a href="https://www.usa.canon.com/internet/portal/us/home">yes, the camera company</a>), until it was abruptly killed by Canon itself. In this blog post, we’ll delve into the story of <a href="https://www.zimki.com/">Zimki</a>, a Platform as a Service that was unfortunately too ahead of its time.</p><h3>The Birth of AWS and its Primitives</h3><p>Zimki was created around 2006 — the same year Amazon launched S3 and EC2 that laid the groundwork for what would become AWS. AWS began the era of Infrastructure as a Service (IaaS), a foundational layer on which PaaS’s are built, and is thus inextricably tied to the story of Zimki.</p><p>S3 and EC2 were born out of a need to address internal developer slowdown at Amazon. Amazon’s executives found that their engineers were spending too much time building compute, storage, and database components from scratch, so they sought out to build a common set of infrastructure that developers can reuse instead of reinventing the wheel each time they’re building a new application.<a href="https://techcrunch.com/2016/07/02/andy-jassys-brief-history-of-the-genesis-of-aws/">[1]</a></p><p>Apparently, the idea behind AWS was partly motivated by a book that Jeff Bezos had read, called <em>Creation: Life and How to Make It.</em> The book was written by Steve Grand, a developer of a 1990s video game called Creatures. Creatures was “an artificial life simulation where the user hatches small furry animals and teaches them how to behave, or leaves them to learn on their own”.<a href="https://en.wikipedia.org/wiki/Creatures_(1996_video_game)">[2]</a></p><p>These furry animals were seemingly intelligent, and Grand wrote that <strong>“his approach to creating intelligent life was to focus on designing simple computational building blocks, called primitives, and then sit back and watch surprising behaviors emerge.”</strong><a href="https://www.amazon.com/Everything-Store-Jeff-Bezos-Amazon-ebook/dp/B00BWQW73E">[3]</a><strong> </strong>In a world of GPT-3 and the proliferation of neural networks, this may appear to be a non-statement. But this then-counterintuitive idea gained popularity in the book clubs of Amazon executives and guided much of what AWS sought to achieve. Rather than “guess” what kind of higher level services the developers would want, Amazon executives wanted to provide a set of <strong>primitives, the simplest atomic components of infrastructure, </strong>that developers can combine to build sophisticated applications with as much flexibility as possible.<a href="https://www.amazon.com/Everything-Store-Jeff-Bezos-Amazon-ebook/dp/B00BWQW73E">[4]</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/295/0*IApMt_Wt-QLKNl65.png" /><figcaption>Game cover art for <em>Creatures</em></figcaption></figure><p>Indeed, this approach was a huge success internally and Amazon was quick to expand its primitives to developers outside the company. The rest is history. Here is a quote from <a href="https://www.amazon.com/Everything-Store-Jeff-Bezos-Amazon-ebook/dp/B00BWQW73E"><em>The Everything Store</em></a><em> </em>that describes how EC2 and S3 went on to revolutionize the tech world:</p><blockquote><strong><em>“Just like Creation author Steve Grand had predicted, the creatures were evolving in ways that Bezos could not have imagined. It was the combination of EC2 and S3 — storage and compute, two primitives linked together — that transformed both AWS and the technology world. Startups no longer needed to spend their venture capital on buying servers and hiring specialized engineers to run them. Infrastructure costs were variable instead of fixed, and they could grow in direct proportion to revenues. It freed companies to experiment, to change their business models with a minimum of pain.”</em></strong></blockquote><p>We take the cloud for granted now, but startups literally had to buy physical servers and go to a physical datacenter before AWS came about. As a developer in my 20s, I can’t even imagine what that feels like. Here is a thread from Dalton, our partner at YC, on what running servers looked like back then:</p><h3>Dalton Caldwell on Twitter: &quot;When AWS came out, tech companies didn&#39;t have to mess with this physical server crap anymore, which is better for pretty much everyone. I do find myself nostalgic for going to a physical datacenter, but basically for the same reason people are nostalgic for cassette tapes.5/7 / Twitter&quot;</h3><p>When AWS came out, tech companies didn&#39;t have to mess with this physical server crap anymore, which is better for pretty much everyone. I do find myself nostalgic for going to a physical datacenter, but basically for the same reason people are nostalgic for cassette tapes.5/7</p><p>AWS significantly lowered the barrier to entry for those who want to build and run applications at scale (removed the “muck” <a href="https://aws.amazon.com/blogs/aws/we_build_muck_s/">as Bezos would describe</a>), but its focus on “primitives” put an inherent limit to how much it could make the deployment process easier. In other words, AWS excelled at providing the building blocks but still left the onus of combining those building blocks to the developer. As discussed above, this was very much an intentional choice to maximize flexibility.</p><p>This guiding philosophy helped EC2 and S3 become the standard, ubiquitous units of the web but left room for other players to abstract the deployment process even further by building on top of the nascent IaaS layer.</p><h3>Zimki: Beyond the primitives</h3><p>Zimki was a platform created by a company named Fotango, an online photo sharing website that was acquired by Canon in 2002 after the dot-com boom. Simon Wardley, Fotango’s acting CEO at the time, envisioned a similar future as Bezos with Zimki, where compute would be available to developers as a utility, much like how electricity is supplied through a city-wide grid.</p><p>Unlike AWS, however, Zimki did not just stop at providing developers with the basic building blocks of compute and storage. Instead, it sought to own and define the developer experience around application development and deployment while abstracting away the underlying infrastructure. On Zimki, developers would write code inside the platform (via an IDE in the browser) and expose their functions as APIs that can be consumed externally. What we now call environments were called “realms”: users could easily <a href="https://web.archive.org/web/20071109235937/http://docs.zimki.com/tutorial/using-zync">pull code from these realms into their local machines</a> to develop, and seamlessly <a href="https://web.archive.org/web/20071017021639/http://docs.zimki.com/tutorial/staged-development">clone their code across development, staging, and production realms</a>. Users did not have to care at all about the underlying infrastructure, and billing was calculated per each function.<a href="https://blog.gardeviance.org/2010/05/vmforce-zimki-and-cloud.html">[5]</a></p><p>In many ways, Zimki was years ahead of its time. It wasn’t just a precursor to what we now call PaaS — it was a PaaS with a serverless flavor that looked much like AWS Lambdas and Cloud Run of the present day.<a href="https://acloudguru.com/blog/engineering/simon-wardley-is-a-big-fan-of-containers-despite-what-you-might-think">[6]</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/892/0*epCh83P4gFEvlvSC.png" /><figcaption>Creating a Realm in Zimki. <a href="http://webos-goodies.jp/archives/50943435.html"><em>Source</em></a></figcaption></figure><p>So when Amazon launched EC2 and S3, Wardley was ecstatic and quickly made a set of strategic decisions that were highly unconventional at the time — he wanted to help IaaS providers like AWS offer their own hosted version of Zimki on top of EC2, in order to drive up adoption and establish Zimki as the standard. To that end, Fotango also decided to completely open source Zimki to ease developers from the fear of vendor lock-in by allowing them to host it anywhere.<a href="http://radar.oreilly.com/2006/09/zimki-hosted-javascript-enviro.html">[8]</a> Zimki was essentially an open source PaaS that could run in your own cloud (sounds like <a href="https://porter.run/">another company I know</a>…)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BH6uWbDbONECWfeq.png" /><figcaption>Wardley’s slide presentation for Zimki, with talk notes at the bottom. <a href="https://blog.gardeviance.org/2010/05/vmforce-zimki-and-cloud.html"><em>Source</em></a></figcaption></figure><p>Unfortunately, Wardley’s plan was met with skepticism from Canon, Fotango’s parent company. Canon did not believe that “cloud compute” was the future at the time and was even more skeptical of the decision to go completely open source. Subsequently, Canon decided to put a halt on all operations around Zimki — a decision that led Wardley to dramatically resign on the stage of OSCON, during which he had planned to announce that Zimki is going open source.<a href="https://www.theregister.com/2007/07/27/wardley_zimki_fotango/">[9]</a></p><p>That was the end of Zimki. Wardley writes in his blog, “Had Canon taken another path then it could well have become one of the largest cloud providers in today’s market, rivaling those of later entrants such as Google (<em>with AppEngine</em>), Microsoft (<em>with Azure</em>)…”<a href="https://blog.gardeviance.org/2010/05/vmforce-zimki-and-cloud.html">[10]</a> In an alternate universe, we’d be using CWS.</p><p>However, although Zimki failed to see the light of the day, it serves as an important example for the later PaaS entrants. The ideas it brought to the table, particularly the religious aversion to vendor lock-in and its focus on the platform layer rather than the underlying infrastructure, are strikingly similar to the recent meta of the PaaS market today, in a world where Kubernetes exists.</p><p><em>This post is part of the 3-part History of PaaS series. </em><a href="https://blog.porter.run/#/portal"><em>Subscribe</em></a><em> to be notified for the next article. If you liked this article, share it on </em><a href="https://twitter.com/getporterdev/status/1428426056587956226"><em>Twitter</em></a><em>, </em><a href="https://news.ycombinator.com/submitlink?u=https://blog.porter.run/history-of-paas-how-canon-almost-became-a-major-cloud-provider/"><em>HackerNews</em></a><em>, </em><a href="https://www.reddit.com/submit?url=https%3A%2F%2Fblog.porter.run%2Fhistory-of-paas-how-canon-almost-became-a-major-cloud-provider%2F"><em>Reddit</em></a><em>, or </em><a href="https://www.linkedin.com/sharing/share-offsite/?url=https://blog.porter.run/history-of-paas-how-canon-almost-became-a-major-cloud-provider"><em>LinkedIn</em></a><em>!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e01f5852e174" width="1" height="1" alt=""><hr><p><a href="https://medium.com/porter-dev/history-of-paas-how-canon-almost-became-a-major-cloud-provider-e01f5852e174">History of PaaS: How Canon almost became a major cloud provider</a> was originally published in <a href="https://medium.com/porter-dev">Porter Dev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploy Django on Kubernetes in a few clicks (without even Dockerizing your application)]]></title>
            <link>https://medium.com/porter-dev/deploy-django-on-kubernetes-in-a-few-clicks-without-even-dockerizing-your-application-70d26e369d5d?source=rss-859345ad5b51------2</link>
            <guid isPermaLink="false">https://medium.com/p/70d26e369d5d</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[django]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Trevor Shim]]></dc:creator>
            <pubDate>Mon, 07 Jun 2021 21:46:04 GMT</pubDate>
            <atom:updated>2021-06-07T21:47:11.908Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*y15zdv8y96nnCb8-Pm2KhQ.png" /></figure><blockquote>This blog article is based on the <a href="https://docs.getporter.dev/docs/django">documentation</a> and <a href="https://github.com/jimcru21/porter-sample-django-non-docker">example repository</a> written by Porter’s community member, <a href="https://github.com/jimcru21">jimcru21</a>.</blockquote><p>Kubernetes is a powerful container orchestrator that automates deployments, management, and scaling of containerized applications. Despite all these benefits of Kubernetes, however, there is typically a ton of overhead to it that is often not justified for simple applications. In this tutorial, we go over how to deploy Django applications on major cloud providers’ Kubernetes offerings (e.g. EKS, GKE, DOKS) in a few clicks using Porter, without even having to containerize your applications.</p><h3>What is Porter?</h3><p>Porter is an open-source Platform as a Service (PaaS) that runs in the user’s own cloud. If you’re familiar with Heroku/Vercel/Netlify, Porter brings the ease of use of those platforms into your own cloud, particularly into your own Kubernetes cluster. With Porter, you can deploy and scale Django applications on Kubernetes with minimal overhead without having to write a Dockerfile or YAML files.</p><p><strong>Porter is open source.</strong> Check out the source code <a href="https://github.com/porter-dev/porter">here</a>.</p><h3>Provisioning the Kubernetes Cluster</h3><p>Before you can start deploying a Django application on Kubernetes, you must first provision a Kubernetes cluster. With Porter, it’s possible to create a cluster on AWS, GCP, and Digital Ocean with a single click. Follow <a href="https://docs.getporter.dev/docs/getting-started-with-porter-on-aws">this guide</a> to provision the cluster in the cloud provider of your choice.</p><p>Alternatively, you can also provision a cluster on your own and connect Porter to an existing cluster. These are the guides on how to create your own cluster for each cloud provider:</p><ul><li><a href="https://docs.aws.amazon.com/eks/latest/userguide/create-cluster.html">Amazon Web Services</a></li><li><a href="https://cloud.google.com/kubernetes-engine/docs/quickstart">Google Cloud Platform</a></li><li><a href="https://docs.digitalocean.com/products/kubernetes/quickstart/">Digital Ocean</a></li></ul><p>After you’ve created a Kubernetes cluster, you can connect to it via the Porter CLI per <a href="https://docs.getporter.dev/docs/cli-documentation#connecting-the-cli-to-a-locally-running-instance-of-porter">this guide</a>.</p><h3>Prepare Django Application</h3><p>While it is not necessary to containerize your Django application to deploy it through Porter, you must follow these steps for a successful deployment.</p><ol><li>Install django-allow-cidr (this is the middleware to enable the use of CIDR IP ranges in ALLOWED_HOSTS)</li></ol><pre>pip install django-allow-cidr</pre><p>2. Go to Django Settings and add os.environ.get in allowed host.</p><pre>ALLOWED_HOSTS = os.environ.get(&quot;DJANGO_ALLOWED_HOSTS&quot;, default=&#39;127.0.0.1&#39;).split(&quot; &quot;)</pre><p>3. Add allowed CIDR networks. Put CIDR according to the Kubernetes kubelet CIDR. If you’ve provisioned the cluster through Porter, it is set to 10.99.0.0/16 by default. If you&#39;ve provisioned the cluster yourself, consult your cloud console to find the CIDR.</p><pre>ALLOWED_CIDR_NETS = os.environ.get(&quot;ALLOWED_CIDR_NETS&quot;, default=&#39;10.99.0.0/16&#39;).split(&quot; &quot;)</pre><p>4. Add django-allow-cidr middleware to the application.</p><pre>MIDDLEWARE = [<br>  &#39;allow_cidr.middleware.AllowCIDRMiddleware&#39;,<br>  #&#39;django.middleware.security.SecurityMiddleware&#39;,<br>]</pre><p>5. Add Gunicorn</p><pre>pip install gunicorn</pre><p>6. Add static folder and add your HTML and CSS files. Locate static URL settings and add static file dirs below:</p><pre>STATICFILES_DIRS = (<br>  os.path.join(BASE_DIR, &#39;static&#39;),<br>)<br>STATIC_ROOT = os.path.join(BASE_DIR, &#39;staticfiles&#39;)</pre><p>7. Add a Procfile to your repository. This is an alternative configuration to Dockerfile that uses <a href="https://buildpacks.io/">Cloud Native Buildpacks</a>, which have been popularized by Heroku. Porter uses the Procfile to build your images if a Dockerfile is not present.</p><pre>web: gunicorn &lt;project-name&gt;.wsgi -b 0.0.0.0:8989 --timeout 120</pre><p>8. Lastly, generate a requirements file.</p><pre>pip freeze &gt; requirements.txt</pre><blockquote>Sample repository for the above configuration: <a href="https://github.com/jimcru21/porter-sample-django-non-docker">https://github.com/jimcru21/porter-sample-django-non-docker</a></blockquote><h3>Deploy Django on Porter</h3><ol><li>Visit the <a href="https://dashboard.getporter.dev/launch">Porter Dashboard</a>. Click <strong>Web Service &gt; Launch Template</strong>.</li><li>Name your application.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NQ_53FjFypCj1n-t.png" /></figure><p>3. When prompted for the deployment method, click <strong>Git Repository</strong>. Connect your GitHub account and select the repo you’d like to deploy from.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*t-WpCeP6cTmWh0wi.png" /></figure><p>4. Select the branch (main in the example below), then hit <strong>Continue</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dfplbvy8_P463Sws.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KEzSpMgDcL1LRhdd.png" /></figure><p>5. Porter will read your Procfile and prompt you for the name of the process you&#39;d like to run. In the example above, the process is named web. By default, Porter stores your build artifacts in the registry that was provisioned by Porter. If you&#39;ve connected to an existing cluster, you can also connect an existing container registry to Porter using our CLI per <a href="https://docs.getporter.dev/docs/linking-an-existing-docker-container-registry">this guide</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*J9PMwgx_kkcoJuqA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yNPsYHl0U8xqpT8D.png" /></figure><p>6. In Additional settings, specify the container port that you use for gunicorn in the Procfile (in the example above, this is set to 8989). You can also configure custom domain per <a href="https://docs.getporter.dev/docs/https-and-custom-domains">this guide</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*avDEAt9v-CfwjI88.png" /></figure><p>7. From the <strong>Environment</strong> tab, set DJANGO_ALLOWED_HOSTS that we specify on Django settings. Then input the domain you have set for your application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vQFMPs7Q5rB_abaF.png" /></figure><p>8. Click <strong>Deploy</strong> then wait for <a href="https://buildpacks.io/">buildpack</a> to finish and push to porter. Porter writes a GitHub Actions file to your repository for Continuous Integration. You can check the build progress on your GitHub repository under the <strong>Action</strong> tab.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gFcQlKynknP3fUjY.png" /></figure><h3>Done!</h3><p>Kubernetes can be a mountain to climb for newcomers, but developers are drawn to its benefits despite the steep learning curve. Porter is a tool that eases that learning process to the extent that the user doesn’t have to learn anything about Kubernetes, or even Docker, to start deploying on Kubernetes.</p><p>If you have any questions about this tutorial, <a href="https://discord.gg/YnxE3556Ef">join our discord community</a> and ask away!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=70d26e369d5d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/porter-dev/deploy-django-on-kubernetes-in-a-few-clicks-without-even-dockerizing-your-application-70d26e369d5d">Deploy Django on Kubernetes in a few clicks (without even Dockerizing your application)</a> was originally published in <a href="https://medium.com/porter-dev">Porter Dev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Wordpress Development on Porter]]></title>
            <link>https://medium.com/@trevorshim/wordpress-development-on-porter-699050347aaa?source=rss-859345ad5b51------2</link>
            <guid isPermaLink="false">https://medium.com/p/699050347aaa</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[wordpress-web-development]]></category>
            <category><![CDATA[wordpress-development]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[wordpress]]></category>
            <dc:creator><![CDATA[Trevor Shim]]></dc:creator>
            <pubDate>Mon, 03 Aug 2020 19:21:07 GMT</pubDate>
            <atom:updated>2020-08-03T19:48:23.424Z</atom:updated>
            <content:encoded><![CDATA[<h4>Start developing Wordpress themes and plugins with one-click, without any local set-up.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1BtzJD5hgZ3lEsRzyqfMAA.jpeg" /></figure><p>Local development for Wordpress often requires a lot of configuration and installation of tools like PhpMyAdmin, MySQL, and Wordpress itself. Docker helps compartmentalize each of these components with <strong>containers</strong>. Simply put, containers are lightweight VM’s that provide environments that are isolated from your host machine — if you are familiar with heroku, you can think of them as Dynos. Docker lets you spin up and manage Wordpress stacks for your various projects without the headache of maintaining and configuring these technologies on your computer.</p><p>Despite Docker’s ease of use, however, there is still a bit of learning curve that prevent Wordpress developers from taking advantage of containers. Porter lets you develop Wordpress themes and plugins using Docker, without having to configure <strong>or even install</strong> Docker.</p><h3>What is Porter?</h3><p><strong>Porter is a remote development environment that lets you develop Docker containers in the cloud while using a local IDE of your choice. </strong>Using the Wordpress template provided on Porter, you can start developing themes and plugins without configuring or installing anything locally, then ship them into production <em>with literally one-click</em>.</p><h3>1. Create containers on Porter</h3><p>Everything on Porter runs as Docker containers. Let’s create Wordpress and MySQL containers on Porter using the default templates. You can do this by logging into Porter’s <a href="https://dashboard.getporter.dev/">dashboard</a>, then clicking on the “Create a Container” button and choosing the corresponding templates.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IvRsUOn1E8k_sZ4JwJ0HSQ.png" /></figure><p>It may take up to a minute for these containers to load.</p><h3>2. Connect the containers</h3><p>Once you have created these containers, you need to make them talk to each other — this can be done by changing the environment variables of each container. Click on the MySQL container you have created and change the environment variables MYSQL_ROOT_PASSWORD, MYSQL_DATABASE, MYSQL_USER, MYSQL_PASSWORD to values of your choice from the “Environment” tab. All variables are initially set to &quot;default”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dYIQtdyGfxf-QFg4-uVPDw.png" /></figure><p>Once you have configured the MySQL container, copy the connection string displayed in the container by clicking on the icon boxed below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kr0y8673f8Hnp5Pxc746YQ.png" /></figure><p>Now click on the Wordpress container, then change the environment variableWORDPRESS_DB_HOST from “default” to the connection string you have just copied — make sure WORDPRESS_DB_PASSWORD also matches the MYSQL_ROOT_PASSWORD you have put in the MySQL container.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ARCEbFlD0CexfhiuIwxLOw.png" /></figure><p>Once you hit save, the Wordpress container will restart and soon the URL on the container will display the familiar Wordpress installation page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3Rjo1muXTTMC_vQkxLXdRw.png" /></figure><h3><strong>3. Develop on remote containers</strong></h3><p><strong>The above URL is now effectively your localhost. </strong>But how do you develop on these remotely running containers? All you need to install is the porter-cli that will let you develop remotely using your own local IDE by <em>syncing your local files with the files in the remote container.</em><strong> </strong>Let’s see this in action.</p><ol><li>Install the CLI with npm i -g porter-cli if you are using MacOS. For other OS, see <a href="https://docs.getporter.dev/docs/cli-documentation">our docs</a>.</li><li>Run porter login</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/589/1*6_o_eXXQfxQKCzlbk6QgTQ.png" /></figure><p>3. Make an empty local directory and run porter init inside that directory. When prompted to choose a container, select the name of the Wordpress container you have created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/725/1*vtQlijAbTflKq9llsWLfEA.png" /></figure><p>4. Run porter sync --bi-dir from the same directory — this will start a bi-directional syncing process between the directory and your remote container.</p><p>5. Once all the folders have been downloaded from the remote-container via sync, start developing your themes in the wp-content/themes directory that has just been downloaded.</p><p>Any local edit you make in that local directory will be instantly propagated into the remote container that you can view on the above URL. As long as the syncing process is ongoing, the remote container will behave exactly like your localhost. Just run porter sync --bi-dir again when you want to start developing.</p><p>You can share your works in progress with clients and collaborators by simply giving them the URL you are developing on. The containers you develop on Porter can also be <strong>promoted to production</strong> with your custom domain in just one-click.</p><p>You can try developing Wordpress themes on Porter for free <a href="https://dashboard.getporter.dev/">here</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=699050347aaa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Parasite — be so good they can’t ignore you]]></title>
            <link>https://medium.com/@trevorshim/parasite-be-so-good-they-cant-ignore-you-36bdf0e4b5e4?source=rss-859345ad5b51------2</link>
            <guid isPermaLink="false">https://medium.com/p/36bdf0e4b5e4</guid>
            <category><![CDATA[oscars]]></category>
            <category><![CDATA[korea]]></category>
            <category><![CDATA[parasite-2019]]></category>
            <category><![CDATA[bong-joon-ho]]></category>
            <dc:creator><![CDATA[Trevor Shim]]></dc:creator>
            <pubDate>Mon, 10 Feb 2020 18:41:22 GMT</pubDate>
            <atom:updated>2020-02-10T19:08:59.130Z</atom:updated>
            <content:encoded><![CDATA[<h3>Parasite — Be so good they can’t ignore you</h3><p>If you told me a year ago that I would hear an acceptance speech for Oscar’s Best Picture Award uttered in Korean, I would’ve asked what you are smoking.</p><p>Having grown up with Bong’s films as a Korean boy who loves movies and as a Korean “young adult” living in America, I find Parasite’s win today absolutely surreal — so bear with me as I babble on out of pure wonder, and I hope this provides an opportunity for my American friends to learn about other films of Bong.</p><p>The first-ever movie directed by Bong that I watched is 괴물, or The Host. I was 10 back then so I didn’t even know who Bong Joon Ho was, but I was captivated by the sheer fact that a Korean movie stars a grotesque river monster created by pure CGI. In the Korean film scene back then, CGI was considered a technique that belongs exclusively to big-budget Hollywood movies, and creature films (let alone sci-fi films in general) were without doubt seen as properties of the West. Pre-release, the Korean film critics were mostly focused on how well Bong manages to pull off CGI with a relatively small budget. In the first 20 minutes of The Host, however, Bong makes it clear that he’s not just trying to mimic the Hollywood creature films with passable CGI, by violating the long-held tradition of the genre: Be frugal with the Monster.</p><p>In creature films, it had been conventional that the full view of the monster is revealed gradually near the end of the film to 1) create suspense and 2) to save money on CGI. Within the 20 minute mark of the film, however, Bong subverts expectations by fully displaying the CGI monster in broad daylight beside the Han River (Central Park equivalent of Korea). At this point he’s basically saying, “Here this is what you came for, but my movie’s gonna be so much more than that”. From then on, The Host transforms into a monster movie that is so uniquely Korean, revolving around the typical elements of a Korean family drama while somehow sticking true to its original creature film genre.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GPzL6uN8bZBrQItQ" /><figcaption>Scene from The Host — Yes, that’s the same guy from Parasite</figcaption></figure><p>Bong has made many other great films, but I mention The Host in particular because I think it serves as a prototype to Snowpiercer and Okja, Bong’s later attempts to amalgamate the elements of Korean and Hollywood films. In early 2010’s, the Korean film scene garnered lots of interest from big studios in the West. Korean directors like Bong and Park directed movies starring A-list Hollywood celebrities, and many classic Korean films were remade in Hollywood. However, most of those big-budget movies directed by legendary figures like Bong and Park didn’t quite live up to the expectations (hot take 1). Snowpiercer and Okja were great films, but there was something definitely off about them in comparison to Bong’s previous films. It felt to me that Bong’s signature craft of subtly mixing darkness and humor had been overshadowed by overly quirky characters and disturbingly playful violence; it almost felt like Bong was pandering to the global audience to some extent in the name of auteur-ship (hot take 2).</p><p>And this is why I am so surprised by Parasite’s global success. Parasite marks Bong’s return to the Korean film scene after a brief stint in Hollywood — it’s an entirely Korean film that I don’t think was meant to target the global audience at the time of making. There are no explicit elements of Hollywood — no Chris Evans, Tilda Swinton, or Jake Gyllenhaal to entice American moviegoers. It’s so unabashedly Korean, yet it somehow managed to stand upright at the epicenter of the American film scene. As a Korean who spent half of his life abroad, I always mention that Bong is my favorite director and recommend my friends to watch Snowpiercer, mainly because it’s the most “Hollywood” film of Bong — Now I will recommend you to watch “Mother” (10/10, will captivate you in the first 10 seconds).</p><p>Bong is a living example of “Be so good they can’t ignore you,” and Parasite’s global success will hopefully open up a new era for Korean films.</p><p>On a side note, it was crazy to hear Tarantino be called “Quentin 형님” at the Oscar’s, which translates to quentin 哥哥, or senpai if that means anything to you.</p><p>tl;dr — Bong #1</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=36bdf0e4b5e4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>