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:

[OT] Passing a WebDNA variable through flash (2004) FW: Shipping calculations (1997) Never ending problem.... (2000) PCS Frames (1997) RAM variables (1997) Changing price for a SLU based on options (size, etc.) (1997) Lost and Recovered. (1998) Secure Server (1997) Meet your competition (2000) Multiple security dbs (1997) The beginning (1997) 2nd WebCatalog2 Feature Request (1996) Generating unique SKU from [cart] - Still Stumped... (1997) ReturnRaw context (1997) Any limit to [include] (1997) Caching [include] files ... (1997) Width & Height (1998) Linux Beta4 Problem (2000) WC2b15 File Corruption (1997) Where's Cart Created ? (1997)