Stuart,Hi - I only got the chance this morning= to properly=C2=A0go through your email.When I tr=ied to implement a git workflow in the past it always fell down around the =syncing of databases.=C2=A0 Particularly if I changed=C2=A0the structure of= a database=C2=A0on the local repository. =C2=A0I= couldn't figure=C2=A0out a safe way to do that and sync to the dev / l=ive servers. I tried using a mix of Tower and=C2=A0https://beanstalkapp.com/ at the time.<=/div>- TomOn Thu, 3 Oct 2019 at 00:18, Stua=rt Tremain <webdna@plsoftware.com.au> wrote:Hi Tom
=div>git is not dependant on any language so what you do with WebDNA is= no different to any other language.The steps tha=t I achieved to get it running were as follows:1.= Installed Tower on my Mac -=C2=A0https://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 pair access5. Once the tech was in place= and key pairs were working I simply created a repository from my local cop=y of the website, then created a remote repository =C2=A0on the server, and= then using Tower pushed the local repository to the remote repository on t=he server. To test that this was working I backed up the website on the ser=ver and created an empty root directory, git filled the empty root dir with= the contents of my local repository - this proved to me that the system wa=s working. When you try this for yourself do plenty of testing before going= to a live environment. You may have some issues with permissions, make sur=e that the git user on the server is in www-data group, I also set the grid= on the root directory chmod -R 2775 /var/www/html=C2=A0When I finish development on my dev server I use Transmit (https://panic.com/transm=it/) to download all the new/changed files to my local repository then =use Tower to send the changes to the website.I gu=ess I could make git work both ways but I feel more comfortable with the ft=p flow from dev to local.Using git is an art in i=tself and I really only use the basics that are available.
=div>Here =C2=A0are some links about getting started:---------------------------------------------------------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.us--00000000000070dcf4059427e521--. Associated Messages, from the most recent to the oldest:If you are inter=ested I have some personal notes that I use to set up git on a new server t=hat suits my way of working.---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@w=ebdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: suppo=rt@webdna.usOn 2 Oct 2019, at 23:11, Tom Duke &=lt;tom@revoluti=onaries.ie> wrote:---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@w=ebdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: suppo=rt@webdna.usS=tuart,Hi - I would be really interested=C2=A0in finding= out more about how you have integrated=C2=A0version control=C2=A0into your= workflow.It's one of the (many) things I hav=e not properly figured out yet with WebDNA.=C2=A0 I might contact you off l=ist about this if that's ok?I also just wante=d to say how much I value your=C2=A0contributions to the list.- Tom
2504--00000000000070dcf4059427e521Content-Type: text/plain; charset="UTF-8"Stuart,Hi - I also meant to say that yes it would be great to get a copy of yournotes on how you implemented your git workflow.- TomOn Sat, 5 Oct 2019 at 12:11, Tom Duke
- Re: [WebDNA] Cloud hosting and local development (Stuart Tremain
2019) - Re: [WebDNA] Cloud hosting and local development (Tom Duke
2019) - Re: [WebDNA] Cloud hosting and local development (Tom Duke
2019) - Re: [WebDNA] Cloud hosting and local development (Stuart Tremain
2019) - Re: [WebDNA] Cloud hosting and local development (Paul Willis
2019) - Re: [WebDNA] Cloud hosting and local development (Bob Minor
2019) - Re: [WebDNA] Cloud hosting and local development (Tom Duke
2019) - Re: [WebDNA] Cloud hosting and local development (Brian Harrington
2019) - Re: [WebDNA] Cloud hosting and local development (Tom Duke
2019) - Re: [WebDNA] Cloud hosting and local development (Brian Harrington
2019) wrote:> Stuart,>> Hi - I only got the chance this morning to properly go through your email.>> When I tried to implement a git workflow in the past it always fell down> around the syncing of databases. Particularly if I changed the structure> of a database on the local repository.>> I couldn't figure out a safe way to do that and sync to the dev / live> servers. I tried using a mix of Tower and https://beanstalkapp.com/ at> the time.>> - Tom>> On Thu, 3 Oct 2019 at 00:18, Stuart Tremain > wrote:>>> Hi Tom>>>> git is not dependant on any language so what you do with WebDNA is no>> different to any other language.>>>> The steps that I achieved to get it running were as follows:>>>> 1. Installed Tower on my Mac - https://www.git-tower.com>>>> 2. I created a copy of the website on my Mac>>>> 3. Set up git on the server>>>> 4. Set up my user on the server with key pair access>>>> 5. Once the tech was in place and key pairs were working I simply created>> a repository from my local copy of the website, then created a remote>> repository on the server, and then using Tower pushed the local repository>> to the remote repository on the server. To test that this was working I>> backed up the website on the server and created an empty root directory,>> git filled the empty root dir with the contents of my 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 environment. You may>> have some issues with permissions, make sure that the git user on the>> server is in www-data group, I also set the grid on the root directory>> chmod -R 2775 /var/www/html>>>> When I finish development on my dev server I use Transmit (>> https://panic.com/transmit/) to download all the new/changed files to my>> local repository then use Tower to send the changes to the website.>>>> I guess I could make git work both 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 links about getting started:>>>>>> https://www.digitalocean.com/community/questions/ubuntu-16-04-creating-new-user-and-adding-ssh-keys>>>>>> https://www.digitalocean.com/community/tutorials/how-to-install-git-on-ubuntu-18-04>>>>>> If you are interested I have some personal notes that I use to set up git>> on a new server that suits my way of working.>>>>>> Kind regards>>>> Stuart Tremain>> Pharoah Lane Software>> AUSTRALIA>> webdna@plsoftware.com.au>>>>>>>>>>>>>>>> On 2 Oct 2019, at 23:11, Tom Duke wrote:>>>> Stuart,>>>> Hi - I would be really interested in finding out more about how you have>> integrated version control into your workflow.>>>> It's one of the (many) things I have not properly figured out yet with>> WebDNA. I might contact you off list about this if that's ok?>>>> I also just wanted to say how much I value your contributions to the list.>>>> - Tom>>>>>> --------------------------------------------------------- This message is>> sent to you because you are subscribed to the mailing list talk@webdna.us>> To unsubscribe, E-mail to: talk-leave@webdna.us archives:>> http://www.webdna.us/page.dna?numero=55 Bug Reporting: support@webdna.us>>>>>> --------------------------------------------------------- This message is>> sent to you because you are subscribed to the mailing list talk@webdna.us>> To unsubscribe, E-mail to: talk-leave@webdna.us archives:>> http://www.webdna.us/page.dna?numero=55 Bug Reporting: support@webdna.us>>--00000000000070dcf4059427e521Content-Type: text/html; charset="UTF-8"Content-Transfer-Encoding: quoted-printable Stuart,Hi - I also meant to say that y=es it would be great to get a copy of your notes on how you implemented you=r git workflow.- TomOn Sat, 5 Oct 2019 at 1=2:11, Tom Duke <tom@revolution=aries.ie> wrote:Stuart,Hi - I only got the chance this morning= to properly=C2=A0go through your email.When I tr=ied to implement a git workflow in the past it always fell down around the =syncing of databases.=C2=A0 Particularly if I changed=C2=A0the structure of= a database=C2=A0on the local repository. =C2=A0I= couldn't figure=C2=A0out a safe way to do that and sync to the dev / l=ive servers. I tried using a mix of Tower and=C2=A0https://beanstalkapp.com/ at the time.<=/div>- TomOn Thu, 3 Oct 2019 at 00:18, Stua=rt Tremain <webdna@plsoftware.com.au> wrote:Hi Tom
=div>git is not dependant on any language so what you do with WebDNA is= no different to any other language.The steps tha=t I achieved to get it running were as follows:1.= Installed Tower on my Mac -=C2=A0https://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 pair access5. Once the tech was in place= and key pairs were working I simply created a repository from my local cop=y of the website, then created a remote repository =C2=A0on the server, and= then using Tower pushed the local repository to the remote repository on t=he server. To test that this was working I backed up the website on the ser=ver and created an empty root directory, git filled the empty root dir with= the contents of my local repository - this proved to me that the system wa=s working. When you try this for yourself do plenty of testing before going= to a live environment. You may have some issues with permissions, make sur=e that the git user on the server is in www-data group, I also set the grid= on the root directory chmod -R 2775 /var/www/html=C2=A0When I finish development on my dev server I use Transmit (https://panic.com/transm=it/) to download all the new/changed files to my local repository then =use Tower to send the changes to the website.I gu=ess I could make git work both ways but I feel more comfortable with the ft=p flow from dev to local.Using git is an art in i=tself and I really only use the basics that are available.
=div>Here =C2=A0are some links about getting started:---------------------------------------------------------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.us--00000000000070dcf4059427e521--. Tom DukeIf you are inter=ested I have some personal notes that I use to set up git on a new server t=hat suits my way of working.---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@w=ebdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: suppo=rt@webdna.usOn 2 Oct 2019, at 23:11, Tom Duke &=lt;tom@revoluti=onaries.ie> wrote:---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@w=ebdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: suppo=rt@webdna.usS=tuart,Hi - I would be really interested=C2=A0in finding= out more about how you have integrated=C2=A0version control=C2=A0into your= workflow.It's one of the (many) things I hav=e not properly figured out yet with WebDNA.=C2=A0 I might contact you off l=ist about this if that's ok?I also just wante=d to say how much I value your=C2=A0contributions to the list.- Tom
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
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...
Related Readings:
[ShowIf] and empty fields (1997) beta 2 Plugin (2000) Frames and WebCat (1997) OS X Server & Uploads (2001) Shop from PDF (2004) Webcatalog quitting (1997) Talk List Suggestions (1997) searchable list archive (1997) Cyberstudio and WebDNA (1997) [WebDNA] unsubscribe (2008) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Force a search at the default.tmpl page? (1997) tcpconnect feature request .. (2003) [SearchString] (1998) Is Web Merchant Necessary? (2000) Secure Server basic question... (1997) Search with Special Chars (1997) [WebDNA] ImageMagick code (2013) Members register & gain access system (1998) Sorting Date (2004)