<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Kiem Hoang</title>
    <description>The latest articles on DEV Community by Kiem Hoang (@binjuhor).</description>
    <link>https://dev.to/binjuhor</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F473287%2Fc7327b0c-b0e9-4d99-aa17-8bae29ce0767.png</url>
      <title>DEV Community: Kiem Hoang</title>
      <link>https://dev.to/binjuhor</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/binjuhor"/>
    <language>en</language>
    <item>
      <title>EasyEngine with Git Deploy</title>
      <dc:creator>Kiem Hoang</dc:creator>
      <pubDate>Thu, 23 Sep 2021 04:39:57 +0000</pubDate>
      <link>https://dev.to/binjuhor/easyengine-with-git-deploy-1ogm</link>
      <guid>https://dev.to/binjuhor/easyengine-with-git-deploy-1ogm</guid>
      <description>&lt;p&gt;TLDR;&lt;/p&gt;

&lt;p&gt;Just run &lt;code&gt;wget -qO eeGit bit.ly/ee-git &amp;amp;&amp;amp; sudo bash eeGit&lt;/code&gt; and your server will installed EasyEngine and Git Deploy already there.&lt;/p&gt;




&lt;h2&gt;
  
  
  Instruction
&lt;/h2&gt;

&lt;p&gt;Add command ee-git to your VPS, help you manage your website's source code by git, forget FTP, SFTP, no thirdparty software needed, just Git and EasyEngine.&lt;/p&gt;

&lt;h2&gt;
  
  
  Install EE &amp;amp; Git Deploy
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Install
&lt;/h3&gt;

&lt;p&gt;For Linux, we have created an installer script which will install all the dependencies for you. We have tested this on Ubuntu 14.04, 16.04, 18.04 and Debian 8, Debian 10 ( Only EasyEngine supported system ).&lt;/p&gt;

&lt;p&gt;&lt;code&gt;wget -qO eeGit bit.ly/ee-git &amp;amp;&amp;amp; sudo bash eeGit&lt;/code&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Usage
&lt;/h3&gt;

&lt;p&gt;Create a website with EasyEngine's command&lt;/p&gt;

&lt;p&gt;&lt;code&gt;sudo ee site create example.com --type=wp&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Create git deploy for example.com's theme&lt;/p&gt;

&lt;p&gt;&lt;code&gt;ee-git example.com theme_name&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Enjoy!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You should create your website by &lt;code&gt;ee&lt;/code&gt; command first after that run command &lt;code&gt;ee-git&lt;/code&gt; to setup git deploy for your theme.&lt;/p&gt;

&lt;p&gt;To deploy WordPress plugins you can also use this way to create git deploy, but you need to edit the &lt;code&gt;/home/example.com/hooks/post-receive&lt;/code&gt; file to make sure your git checkout exact source code to the right folder.&lt;/p&gt;

&lt;p&gt;You should also need to add your public SSH key to &lt;code&gt;/home/git/.ssh/authorized_keys&lt;/code&gt; too.&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>easyengine</category>
      <category>gitdeploy</category>
    </item>
  </channel>
</rss>
