hi,
I'm loving drupalpro, yet i'm having some troubles moving from my virtualbox into production.
these are the steps i take -
- create a DB and a user name in the server
- export the DB from DrupalPro and import it into the server
- archive the website folder in DrupalPro and upload it to the server
- Extract the archive to the server public_html
- here comes the hard part - i need to update the permission (640 --> 644) and the owner/group
- update the settings.php to the new DB
- rinse and repeat each time i make changes in DrupalPro
now, it works, but it doesn't look like the best practice to me, and i'm eager to learn what the pros are doing.
any thoughts?
Comments
Comment #1
mike stewart commentedglad you're liking. I'm not sure I have the perfrect answer for you,,, as it tends to vary on each of our projects... but yes, the initial project setup is always a bit of a small chore.
What we do for the sites that live on our staging server is:
sites/all/drushdrush rsync @foobar.local @foobar.stagedrush sql-sync @foobar.local @foobar.stageNote: If you have a database user on the server that has permissions to create a database, instead of doing all of step one, you can run:
drush sql-sync --create-db @foobar.local @foobar.stageAlso note, our plan is not to keep doing this for much longer... but more about that later. ;-)