I'm new to drupal (using ver 7.22). I created a test site on my localhost and want to upload it to the server (via FTP). I understand how to export the local drupal database and import it on the server... and how to update settings.php. My question is, what folders / files do I upload to the server? My drupal files are in www/drupal. I have searched for an answer and it sounds like you're supposed to upload the whole drupal folder (all files, subfolders). That seems like overkill. For example, if I add a of couple article nodes locally and then want to update the server, I'm supposed to upload the entire drupal folder? I'm used to the standard web model where I upload individual files (.htm, .php, .css) as needed.
Thanks Bill
In drupal, individual nodes are stored in the database, and don't actually have a code file (html, php, etc.). So you upload all you code (entire drupal folder), and if you add nodes locally, you just need to sync the database on your production site with the one on your local site. I use a module called Backup & Migrate to migrate databases from one site to another. The only time you should need to FTP files back and forth is if you modify the actual code itself.
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다