Re: [WebDNA] Cloud hosting and local development

This WebDNA talk-list message is from

2019


It keeps the original formatting.
numero = 114875
interpreted = N
texte = 2503 --000000000000134c66059427e120 Content-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 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 --000000000000134c66059427e120 Content-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

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.

- Tom

On 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.com

2. I created a= copy of the website on my Mac

3. Set up git on th= e 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 =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=A0

Wh= 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.


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 --000000000000134c66059427e120-- . 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)
2503 --000000000000134c66059427e120 Content-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 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 --000000000000134c66059427e120 Content-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

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.

- Tom

On 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.com

2. I created a= copy of the website on my Mac

3. Set up git on th= e 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 =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=A0

Wh= 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.


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 --000000000000134c66059427e120-- . 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:

Multiple Stores and WebCatalog Prefs (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) apostrophe in search item (1997) RE: AccountAuthorizer doesn't seem to work (1997) Sherlock and WebCat (1998) [WebDNA] Authentication with UTF-8 (2010) Using Japanesse text with webcat. (1998) Up and running ... at last !! (1997) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) oops private message leaked into talk list (1997) [sendmail] and [formvariables] (1997) file browser. (2002) expired beta (1997) how do I delete 1 of 2 identical records? (2003) Too Much Rootbeer Free Offer (1997) WebCat2 - storing unformatted date data? (1997) WebCat2b12 - nesting [tags] (1997) WebCat2b13MacPlugIn - more [date] problems (1997) WebCatalog for Postcards ? (1997) 256 character limit in URL? Kinda urgent... (2004)