<![CDATA[ git workflow on MODX Cloud - My Forums]]> https://forums.modx.com/thread/?thread=80939 <![CDATA[Re: git workflow on MODX Cloud]]> https://forums.modx.com/thread/80939/git-workflow-on-modx-cloud?page=5#dis-post-543194 Quote from: bobwal at Jul 12, 2016, 01:49 PM
How did you get on Kevin? I forgot to mention a fairly important point. The method I'm using is only really worthwhile if you're converting your resources to static files. I've been meaning to checkout Gitify for a while but haven't had chance. https://github.com/modmore/Gitify

I haven't really yet.. I ran into an issue where my cloud has an outdated version of git and I couldn't perform some of the commands I needed to. The cloud team was quick to address the issue, but it still was going to take time to implement the update. I didn't want to wait much longer and moved to another host for this project. As I said, I've not really done a setup with git before, so I'm still trying to get through it. Seems like a lot of moving parts with MODx.]]>
kevinhamil Jul 12, 2016, 09:13 AM https://forums.modx.com/thread/80939/git-workflow-on-modx-cloud?page=5#dis-post-543194
<![CDATA[Re: git workflow on MODX Cloud]]> https://forums.modx.com/thread/80939/git-workflow-on-modx-cloud?page=5#dis-post-543193 https://github.com/modmore/Gitify]]> bobwal Jul 12, 2016, 08:49 AM https://forums.modx.com/thread/80939/git-workflow-on-modx-cloud?page=5#dis-post-543193 <![CDATA[Re: git workflow on MODX Cloud]]> https://forums.modx.com/thread/80939/git-workflow-on-modx-cloud?page=4#dis-post-542825 kevinhamil Jun 25, 2016, 02:23 PM https://forums.modx.com/thread/80939/git-workflow-on-modx-cloud?page=4#dis-post-542825 <![CDATA[Re: git workflow on MODX Cloud]]> https://forums.modx.com/thread/80939/git-workflow-on-modx-cloud?page=4#dis-post-541959 https://gist.github.com/bobbwal/be18773acf8f7155b6a0]]> bobwal May 27, 2016, 08:11 AM https://forums.modx.com/thread/80939/git-workflow-on-modx-cloud?page=4#dis-post-541959 <![CDATA[Re: git workflow on MODX Cloud]]> https://forums.modx.com/thread/80939/git-workflow-on-modx-cloud?page=4#dis-post-536347 Quote from: bobwal at Dec 23, 2015, 04:24 PM
Also, does anyone know how to get the coloured terminal back over SSH?

Thanks to cloud support, git colours can be set over ssh with
git config --global color.ui auto
]]>
bobwal Dec 28, 2015, 08:37 AM https://forums.modx.com/thread/80939/git-workflow-on-modx-cloud?page=4#dis-post-536347
<![CDATA[Re: git workflow on MODX Cloud]]> https://forums.modx.com/thread/80939/git-workflow-on-modx-cloud?page=4#dis-post-536274 Also, does anyone know how to get the coloured terminal back over SSH? I can't deal with git in black and white!

Cheers]]>
bobwal Dec 23, 2015, 10:24 AM https://forums.modx.com/thread/80939/git-workflow-on-modx-cloud?page=4#dis-post-536274
<![CDATA[Re: git workflow on MODX Cloud]]> https://forums.modx.com/thread/80939/git-workflow-on-modx-cloud?page=4#dis-post-521707 However the Website running on MODX, is hosted by a Webhost that doesn't offer SSH.
So, I have been FTPing all website files to my computer where I setup LAMP as a local server for editing the website.
However I also have to export the website's database from the Webhost to my LAMP local server MySQL files.

The MODX website doesn't show correctly, which defeats the purpose of viewing the website offline for editing, as I can't see the exact replica.

So, you mention MODX cloud, is that like a Webhost or something?
Or can I continue what I'm doing, (I bit like your setup I think), but maybe I'm missing some final configuration on the pulled website?

Also, I find git behaves weirdly when I made the git init in my computer/www/var/html.]]>
eiger3970 Mar 02, 2015, 04:54 PM https://forums.modx.com/thread/80939/git-workflow-on-modx-cloud?page=4#dis-post-521707
<![CDATA[Re: git workflow on MODX Cloud]]> https://forums.modx.com/thread/80939/git-workflow-on-modx-cloud?page=4#dis-post-517776 Quote from: bobwal at Mar 19, 2013, 09:16 AM

Also, is there a shortcut to avoid having to enter the server address and password each time?
Thanks
This topic is getting old, but I have a few tricks for this that might be useful. I keep a text file for every site I work on, and in this file I keep all the URLs and passwords and other relevant information I may need for working on the site. I keep these in an encrypted folder for security. The first thing I do when creating a new Cloud is to get into the Cloud installation's .ssh directory and add my local public key to its authorized_keys file, so I don't have to log in again. Then I use a nice terminal emulator that lets me copy/paste to and from the terminal window, so I just copy the working connection string and paste it to the text file. The next time that I want to log in via SSH, I can just copy from the text file and paste into my terminal window.

Another interesting way to access a site via SSH is to use sshfs. You still have to connect as above, but once you do that you have a "virtual" folder on your local machine that you can access as if it were actually on your local machine, except for the time lag as it makes the connections to the remote server.]]>
sottwell Dec 31, 2014, 08:47 PM https://forums.modx.com/thread/80939/git-workflow-on-modx-cloud?page=4#dis-post-517776
<![CDATA[Re: git workflow on MODX Cloud]]> https://forums.modx.com/thread/80939/git-workflow-on-modx-cloud?page=4#dis-post-496971
Still, the main problem to solve is how one synchronizes databases between a few local dev-installs and the live-site.
If anyone has a few good pointers to handling this, I'd appreciate.]]>
saschame May 05, 2014, 03:03 AM https://forums.modx.com/thread/80939/git-workflow-on-modx-cloud?page=4#dis-post-496971
<![CDATA[Re: git workflow on MODX Cloud]]> https://forums.modx.com/thread/80939/git-workflow-on-modx-cloud?page=4#dis-post-496761 Chris? everybody?]]> outre99 May 02, 2014, 03:05 AM https://forums.modx.com/thread/80939/git-workflow-on-modx-cloud?page=4#dis-post-496761