Re: [WebDNA] Cloud hosting and local development

This WebDNA talk-list message is from

2019


It keeps the original formatting.
numero = 114876
interpreted = N
texte = 2504 --00000000000070dcf4059427e521 Content-Type: text/plain; charset="UTF-8" Stuart, Hi - I also meant to say that yes it would be great to get a copy of your notes on how you implemented your git workflow. - Tom On Sat, 5 Oct 2019 at 12:11, Tom Duke 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 > > --00000000000070dcf4059427e521 Content-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.

- Tom

On 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=A0

I= 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>

- Tom

On Thu, 3 Oct 2019 at 00:18, Stua= rt Tremain <webdna@plsoftware.com.au> 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 tha= t I achieved to get it running were as follows:

1.= Installed Tower on my Mac -=C2=A0https://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 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=A0

When 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.

Here =C2=A0are some links about getting started:




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.


Kind regards

Stuart Tremain
Pharoah Lane Software
=
AUSTRALIA







On 2 Oct 2019, at 23:11, Tom Duke &= lt;tom@revoluti= onaries.ie> wrote:

S= 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


--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@w= ebdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: suppo= rt@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@w= ebdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: suppo= rt@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=3D55 Bug Reporting: support@webdna.us --00000000000070dcf4059427e521-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Cloud hosting and local development (Stuart Tremain 2019)
  2. Re: [WebDNA] Cloud hosting and local development (Tom Duke 2019)
  3. Re: [WebDNA] Cloud hosting and local development (Tom Duke 2019)
  4. Re: [WebDNA] Cloud hosting and local development (Stuart Tremain 2019)
  5. Re: [WebDNA] Cloud hosting and local development (Paul Willis 2019)
  6. Re: [WebDNA] Cloud hosting and local development (Bob Minor 2019)
  7. Re: [WebDNA] Cloud hosting and local development (Tom Duke 2019)
  8. Re: [WebDNA] Cloud hosting and local development (Brian Harrington 2019)
  9. Re: [WebDNA] Cloud hosting and local development (Tom Duke 2019)
  10. Re: [WebDNA] Cloud hosting and local development (Brian Harrington 2019)
2504 --00000000000070dcf4059427e521 Content-Type: text/plain; charset="UTF-8" Stuart, Hi - I also meant to say that yes it would be great to get a copy of your notes on how you implemented your git workflow. - Tom On Sat, 5 Oct 2019 at 12:11, Tom Duke 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 > > --00000000000070dcf4059427e521 Content-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.

- Tom

On 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=A0

I= 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>

- Tom

On Thu, 3 Oct 2019 at 00:18, Stua= rt Tremain <webdna@plsoftware.com.au> 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 tha= t I achieved to get it running were as follows:

1.= Installed Tower on my Mac -=C2=A0https://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 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=A0

When 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.

Here =C2=A0are some links about getting started:




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.


Kind regards

Stuart Tremain
Pharoah Lane Software
=
AUSTRALIA







On 2 Oct 2019, at 23:11, Tom Duke &= lt;tom@revoluti= onaries.ie> wrote:

S= 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


--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@w= ebdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: suppo= rt@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@w= ebdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: suppo= rt@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=3D55 Bug Reporting: support@webdna.us --00000000000070dcf4059427e521-- . Tom Duke

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:

File Uploads... (1997) Re1000001: Setting up shop (1997) HideIf ip= OR ip= (1998) New servers and new inline cache (1997) t or f (1997) Here we go again... was: DDEConnect not working (2006) Redirect in 4.0 (2000) [WebDNA] [OT] Need to add second SSL host - what are my options? (2010) Search for starts with and ends with? (2003) Getting URL's entered manually (1997) (2004) WebCat editing, SiteGuard & SiteEdit (1997) problems with 2 tags (1997) [WebDNA] [WSC] WebDNA Development Summit (2014) Changes to the List (1997) WebCat2: multiple currency support (1997) Unique Sort (2003) Using Applescript to process WebCatalog functions (1998) WebCommerce: Folder organization ? (1997) Location of Webcat site in folder hierarchy (1997)