On 5 Oct 2019, at 9:18 pm, Tom Duke <tom@revol=utionaries.ie> wrote:
=EF=BB=BFStuart,Hi - I only got the chance this morning to properly go thro=ugh your email.When I tried to implement a git wor=kflow in the past it always fell down around the syncing of databases. = Particularly if I changed the structure of a database on the loca=l repository.I couldn't figure out a s=afe way to do that and sync to the dev / live servers. I tried using a mix o=f Tower and https://beanstalkapp.=com/ at the time.- Tom On Thu, 3 Oct= 2019 at 00:18, Stuart Tremain <webdna@plsoftware.com.au> wrote:Hi Tom---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.usgit is not dependant on any language so what you do with WebDNA is no d=ifferent to any other language.The steps that I ac=hieved to get it running were as follows:1. Instal=led Tower on my Mac - https://www.git-tower.com2. I created a= copy of the website on my Mac3. Set up git on the= server4. Set up my user on the server with key pa=ir access5. Once the tech was in place and key pai=rs were working I simply created a repository from my local copy of the webs=ite, then created a remote repository on the server, and then using To=wer pushed the local repository to the remote repository on the server. To t=est that this was working I backed up the website on the server and created a=n empty root directory, git filled the empty root dir with the contents of m=y local repository - this proved to me that the system was working. When you= try this for yourself do plenty of testing before going to a live environme=nt. You may have some issues with permissions, make sure that the git user o=n the server is in www-data group, I also set the grid on the root directory= chmod -R 2775 /var/www/htmlWhen I finish de=velopment on my dev server I use Transmit (https://panic.com/transmit/) to download all th=e new/changed files to my local repository then use Tower to send the change=s to the website.I guess I could make git work bot=h ways but I feel more comfortable with the ftp flow from dev to local.Using git is an art in itself and I really only use the= basics that are available.Here are some lin=ks about getting started:https://www.digitalocean.com/community/question=s/ubuntu-16-04-creating-new-user-and-adding-ssh-keys=If you are interested I have some personal notes that I u=se to set up git on a new server that suits my way of working.---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@we=bdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: suppor=t@webdna.usOn 2 Oct 2019, at 23:11, Tom Duke &l=t;tom@revolution=aries.ie> wrote:Stua=rt,---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@we=bdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: suppor=t@webdna.usHi - I would be really interested in finding out= more about how you have integrated version control into your work=flow.It's one of the (many) things I have not prop=erly figured out yet with WebDNA. I might contact you off list about t=his if that's ok?I also just wanted to say how muc=h I value your contributions to the list.- To=m
|
On 5 Oct 2019, at 9:18 pm, Tom Duke <tom@revol=utionaries.ie> wrote:
=EF=BB=BFStuart,Hi - I only got the chance this morning to properly go thro=ugh your email.When I tried to implement a git wor=kflow in the past it always fell down around the syncing of databases. = Particularly if I changed the structure of a database on the loca=l repository.I couldn't figure out a s=afe way to do that and sync to the dev / live servers. I tried using a mix o=f Tower and https://beanstalkapp.=com/ at the time.- Tom On Thu, 3 Oct= 2019 at 00:18, Stuart Tremain <webdna@plsoftware.com.au> wrote:Hi Tom---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.usgit is not dependant on any language so what you do with WebDNA is no d=ifferent to any other language.The steps that I ac=hieved to get it running were as follows:1. Instal=led Tower on my Mac - https://www.git-tower.com2. I created a= copy of the website on my Mac3. Set up git on the= server4. Set up my user on the server with key pa=ir access5. Once the tech was in place and key pai=rs were working I simply created a repository from my local copy of the webs=ite, then created a remote repository on the server, and then using To=wer pushed the local repository to the remote repository on the server. To t=est that this was working I backed up the website on the server and created a=n empty root directory, git filled the empty root dir with the contents of m=y local repository - this proved to me that the system was working. When you= try this for yourself do plenty of testing before going to a live environme=nt. You may have some issues with permissions, make sure that the git user o=n the server is in www-data group, I also set the grid on the root directory= chmod -R 2775 /var/www/htmlWhen I finish de=velopment on my dev server I use Transmit (https://panic.com/transmit/) to download all th=e new/changed files to my local repository then use Tower to send the change=s to the website.I guess I could make git work bot=h ways but I feel more comfortable with the ftp flow from dev to local.Using git is an art in itself and I really only use the= basics that are available.Here are some lin=ks about getting started:https://www.digitalocean.com/community/question=s/ubuntu-16-04-creating-new-user-and-adding-ssh-keys=If you are interested I have some personal notes that I u=se to set up git on a new server that suits my way of working.---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@we=bdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: suppor=t@webdna.usOn 2 Oct 2019, at 23:11, Tom Duke &l=t;tom@revolution=aries.ie> wrote:Stua=rt,---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@we=bdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: suppor=t@webdna.usHi - I would be really interested in finding out= more about how you have integrated version control into your work=flow.It's one of the (many) things I have not prop=erly figured out yet with WebDNA. I might contact you off list about t=his if that's ok?I also just wanted to say how muc=h I value your contributions to the list.- To=m
DOWNLOAD WEBDNA NOW!
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...