Hi Tom=git is not dependant on any language so what you do with WebDNA is no diffe=rent to any other language.The steps that I achie=ved to get it running were as follows:1. Installe=d Tower on my Mac -=C2=A0https://www.git-tower.com2. I created a= copy of the website on my Mac3. Set up git on th=e 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 copy of the =website, then created a remote repository =C2=A0on the server, and then usi=ng 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 c=reated an empty root directory, git filled the empty root dir with the cont=ents 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 liv=e environment. You may have some issues with permissions, make sure that th=e git user on the server is in www-data group, I also set the grid on the r=oot directory chmod -R 2775 /var/www/html=C2=A0Wh=en 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 t=o 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.He=re =C2=A0are some links about getting started:If you are interested I hav=e some personal notes that I use to set up git on a new server that suits m=y way of working.---------------------------------------------------------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--000000000000134c66059427e120--. Associated Messages, from the most recent to the oldest:---------------------------------------------------------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
2503--000000000000134c66059427e120Content-Type: text/plain; charset="UTF-8"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 downaround the syncing of databases. Particularly if I changed the structureof a database on the local repository.I couldn't figure out a safe way to do that and sync to the dev / liveservers. I tried using a mix of Tower and https://beanstalkapp.com/ at thetime.- TomOn Thu, 3 Oct 2019 at 00:18, Stuart Tremain
- 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:> 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--000000000000134c66059427e120Content-Type: text/html; charset="UTF-8"Content-Transfer-Encoding: quoted-printable Stuart,Hi - I only go=t the chance this morning to properly=C2=A0go through your email.When I tried to implement a git workflow in the past it alw=ays fell down around the syncing of databases.=C2=A0 Particularly if I chan=ged=C2=A0the structure of a database=C2=A0on the local repository. =C2=A0=div>I couldn't figure=C2=A0out a safe way to do tha=t and sync to the dev / live servers. I tried using a mix of Tower and=C2==A0https://beanstalkapp.com/ at t=he time.- TomOn Thu, 3 Oct 2019 at 00=:18, Stuart Tremain <webdna@=plsoftware.com.au> wrote:Hi Tom=git is not dependant on any language so what you do with WebDNA is no diffe=rent to any other language.The steps that I achie=ved to get it running were as follows:1. Installe=d Tower on my Mac -=C2=A0https://www.git-tower.com2. I created a= copy of the website on my Mac3. Set up git on th=e 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 copy of the =website, then created a remote repository =C2=A0on the server, and then usi=ng 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 c=reated an empty root directory, git filled the empty root dir with the cont=ents 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 liv=e environment. You may have some issues with permissions, make sure that th=e git user on the server is in www-data group, I also set the grid on the r=oot directory chmod -R 2775 /var/www/html=C2=A0Wh=en 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 t=o 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.He=re =C2=A0are some links about getting started:If you are interested I hav=e some personal notes that I use to set up git on a new server that suits m=y way of working.---------------------------------------------------------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--000000000000134c66059427e120--. Tom Duke---------------------------------------------------------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:
stumped on simple sort (1999) Hiding HTML in an [include] file... (2004) date format (another question) (2000) listfiles-looking for slick solution (1997) Multiple prices (1997) Security Issue (1999) pc (1997) suffix mapping for NT? (1997) Vanity counter side note (1998) Add to Cart & List of Products (1997) Closest non matching search (2004) A question on sub-categories (1997) WebCat2 as a chat server? (1997) Bug? (1997) RE: WebCat and image maps (1997) Retaining formatting (2000) frames & carts (1997) displaying New products (using [date]) (1997) Forcing a NEWCART (1997) Sendmail and textarea (1998)