Changes between Version 9 and Version 10 of faq/setup-development-workstation
- Timestamp:
- Mar 21, 2008, 2:25:39 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
faq/setup-development-workstation
v9 v10 10 10 == Installing and configuring critical helper packages == 11 11 12 Being able to send and receive email often part of the web application development process.12 Being able to send and receive email is often part of the web application development process. 13 13 14 14 {{{ … … 137 137 138 138 Now you are ready to begin. You can start placing files in your project's web directory and access your project at the URL: !http://mfpl.fidel/ 139 140 == Keeping files in sync == 141 142 If you are working on a database driven project (like Drupal) it can be difficult to keep your database and (in the case of Drupal) your files directory in sync. 143 144 A bash script like the following one can help - by providing an easy way to synchronize your development platform with the live site: 145 146 {{{ 147 #!/bin/bash 148 echo "Synchronizing database." 149 ssh <user>@<server> "mysqldump -u <remote-db-user> -p<remote-db-pass> <remote-db-name>" | mysql -u <local-db-user> -p<local-db-pass> <local-db-name> 150 151 echo "Synchronizing files." 152 rsync -av <user>@<server>:<remote-path-to-files-directory> <local-path-to-files-director> 153 }}}