Website Development Stages

Website Development Stages

9 posts / 0 new
Last post
thomas.a.grieve@gmail.com's picture
thomas.a.grieve
Points: 15
Website Development Stages

Hi,

Trying to absorb a lot while learning Drupal.

I have read that you want THREE staging areas for your website:

1 - Local - where you develop your site
2 - Staging - I take this to mean its on the remote server but not live
3 - Live Site

Question 1 - I am building a Drupal 8 site. When the Migrate Module for Drupal 8 is ready - will it handle the copying process to the various stages from Local(Dev Desktop)>Staging>Live?

Question 2 - Am I correct in saying that the site is COPIED from one location to another?

Question 3 - Is there any documentation on DEV DESKTOP regarding copying a site from Dev Desktop to a server that IS NOT Acquia Cloud?

Thank you for taking the time to answer. It is really appreciated.

Status: 
Unresolved
dmyburgh's picture
david.myburgh
Points: 99

Answers:

1. Migrate is already built into Drupal 8, but its only used to migrate content from other sites. So it won't move your site between environments (stages).
2. Yes, its copied.
3. Quite possibly, but you'll have to Google that. We only have documentation for Acquia Cloud as far as I know.

Acquia Cloud gives you 3 environments by default: Dev, Stage, Production. Your local would be a fourth. To see the process working cleanly, I recommend creating a Free Tier site on Acquia Cloud (https://insight.acquia.com/free). Then in DevDesktop, use the same credentials you used to create your account on Acquia Cloud. DevDesktop can then see that site on Free Tier, and you get the option to Clone it locally. (Note that Free Tier only allows you access to Dev and Stage, not Production). Once its cloned, you can then push and pull files/database/code between the server (usually Dev) and your local.

If the site you're developing is going to be hosted on a shared hosting server, like GoDaddy or Bluehost, etc, then what I like to do is develop the site in DevDesktop and Free Tier. That way your client and/or your mobile devices can access the Free Tier site for testing. Once everything is done, you can then upload the files and database to the final host. Those shared plans don't give you Dev or Staging servers, only one Production one (unless you pay extra).

thomas.a.grieve@gmail.com's picture
thomas.a.grieve
Points: 15

Okay,

Instead of:

1 - Dev {local}
2 - Staging [Testing] {Non shared - corporate server}
3 - Production {Non shared - corporate server}

You are saying:

1 - Dev {Acquia Cloud}
2 - Staging {Acquia Cloud}
3 - Local {clone} - does this, then, even serve a purpose?
4 - Production {Non shared - corporate server}

Aren't we saying the same thing but that your option champions the use of Acquia Cloud and mine doesn't?

Is there any advantage to Acquia Cloud if my staging server provides the access for remote testing?

dmyburgh's picture
david.myburgh
Points: 99

Local is used for dev and would be a clone of Dev server. It's super useful to work locally because you see changes to things (like styles) immediately. In the work I do, I couldn't work without it.

There isn't a real difference between the two setups, I was just mentioning that Acquia Cloud offers those options. If your server has staging and remote access, go for it. There is no need to use Free Tier then. I just like it because it easily integrates with DevDesktop (which I use daily), uses Git for revision control, and is fast and free.

thomas.a.grieve@gmail.com's picture
thomas.a.grieve
Points: 15

The GIT - which I forgot about - is a definite advantage of Acquia Cloud.

Especially with the revision control - which, at this point, I know ZERO about (Git)

Maybe you have confused me a bit. And I apologize for dragging this out as I don't like eating up peoples time.

You say you like working locally, but you have to clone the site from Acquia Cloud to do so.

Do you then:

Copy it back to the cloud and THEN push it to the live server?

Or am I not understanding your terminology?

dmyburgh's picture
david.myburgh
Points: 99

Yeah, Git is super useful in keeping track of changes. I can't live without anymore, which is why I use Free Tier for testing when a site is hosted on one of those shared hosting sites.

So, yeah you're right, I work locally after cloning the initial setup from Free Tier, then I push stuff back up to the Free Tier site for testing.

thomas.a.grieve@gmail.com's picture
thomas.a.grieve
Points: 15

You da man David! Thanks for taking the time!

thomas.a.grieve@gmail.com's picture
thomas.a.grieve
Points: 15

Resolved!

Status Change: 
Resolved
dmyburgh's picture
david.myburgh
Points: 99

You're welcome!