Feel free to point out if I've posted this in the wrong forum...:-)

I've recently (i.e. yesterday) installed 4.7.4 to start my MAC and Linux website, and I'd like to know if the following ideas is both wise and even possible.

My normal development machine is a Mac Powerbook, and what I'd like to do is duplicate my website on that, complete with MySQL, PHP, Drupal, etc. and do all my development work on that - only uploading to the live site when needed.

Can I just upload the database ? Is this going to come back and bite me ?

I realise once the site goes live that this will be an impractical way of maintaining it, but for the initial development and setup it would make life far easier for me.

Jon

Comments

jeff h’s picture

Your proposed workflow is exactly what I usually do, until a site is live.

I have Drupal installed on my 12" Powerbook, and develop the whole site on that, locally. Because I'm usually working with a client who needs to see the progress, every night I upload the database to the live server, and also run Transmit (my FTP app) which does a file-date comparison and only uploads newer files. If you're not doing theming or custom modules you won't even need to upload any files.

Jeff

moldor’s picture

Thanks jeff - once your site is live I gather that the database is never uploaded, but you can still continue local development and upload changed files ?

Jon

jeff h’s picture

Right, when I need to work on the site I typically download a current copy of the live site database to my localhost, work on that and upload any files that are changed (normally in the theme).

knotmyline’s picture

Jeff & Moldor
I am very much a Newbie, but I want to learn and I don't want to impact anyone but myself. So developing locally is a great idea. I am running XP & IE7, don't know a thing about administration, setup, and all the software involved. I figure I am not alone. Could you provide a step by step procedure for developing locally? It would make a great article for lots of people like myself.
Thanks Ron

jeff h’s picture

Hi Ron... welcome to the world of Drupal!

For Windows local development, take a look at http://drupal.org/node/89957 and http://drupal.org/node/263.

Moldor & I get it a bit easier, as Mac OS X comes with Apache already installed, but I don't see it being too difficult on Windows, using one of the packages described in node 263 above, to get everything running.

Jeff