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.
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 ).
wget -qO eeGit bit.ly/ee-git && sudo bash eeGit
-
Create a website with EasyEngine's command
sudo ee site create example.com --type=wp
-
Create git deploy for example.com's theme
ee-git example.com theme_name
-
Enjoy!
-
You should create your website by
ee
command first after that run commandee-git
to setup git deploy for your WordPress theme. -
To deploy WordPress plugins you can also use this way to create git deploy, but you need to edit the
/home/example.com/hooks/post-receive
file to make sure your git checkout exact source code to the right folder. -
You should also need to add your public SSH key to
/home/git/.ssh/authorized_keys
too.
Email: hi@binjuhor.com