`
haohappy2
  • 浏览: 327541 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

Easy to sync your site from local to remote through drupal 8

 
阅读更多

Just like the feature in drupal 7. In drupal8, the feature module  have already intergreated inside. so you can easy to sync your site from to local to remote.  please do the step as below and enjoy it .

 

The process is the same if you mirror your site from local to server or the other direction. I will describe the deployment from local to remote server to simplify the explanation.

  1. Install your site on your local Wamp, Xamp, Mamp or whatever webserver you are using.
  2. Move all files inside your drupal directory to the server. You can do this with Version control (Git, SVN etc) or by using FTP
  3. Do not copy anything inside sites/default except of default.settings.php. So sites/default/files is not copied, neither is settings.php
  4. Create a fresh database on your remote server and do a fresh install of Drupal.
  5. Export the configuration via /admin/config/development/configuration/full/export

    Exporting configuration

  6. Import the config.tar.gz file you get from that via /admin/config/development/configuration/full/import
  7. Export the database from your local web server using PHPmyadmin or another tool. The preferred Drupal module for that is https://drupal.org/project/backup_migrateonce it will be ready for Drupal 8.
  8. Import the database using the same tool into the Drupal 8 site on your remote server
  9. Voila! Everything should be synchronized. As long as you are not synchronizing content like nodes or users, you can also just use the CMI config.tar.gz file to synchronize. If in doubt or you are not a very versed Drupal user, always synchronize the database also.
分享到:
评论

相关推荐

    Drupal 6 Site Builder Solutions, Build powerful web site features for your business and connect to your customers through blogs, product catalogs, newsletters, and maps

    All functionality is presented in a clear step-by-step format which is easy to follow as you build your own site. This book will explore several modules that will allow you to do everything from ...

    Drupal 8 Explained: Your Step-by-Step Guide to Drupal 8

    Drupal 8 Explained: Your Step-by-Step Guide to Drupal 8 (The Explained Series) by Stephen Burge English | 3 Apr. 2017 | ASIN: B06Y1VN2D7 | 283 Pages | AZW3 | 13.66 MB We're delighted to present the ...

    Drupal.8.Development.Beginners.Guide.2nd.Edition.epub

    A hands-on, example-driven guide to developing Drupal websites that covers everything from site building, theme development, creating custom modules, as well as the development environment Who This ...

    Drupal.8.for.Absolute.Beginners.1430264667

    Drupal 8 for Absolute Beginners is your definitive guide to starting from scratch with Drupal even if you have little web knowledge. This book teaches you the basics of HTML, CSS, JavaScript, and ...

    Drupal 6 Themes: Create new themes for your Drupal 6 site with clean layout and powerful CSS styling

    If you want to create a striking new look for your Drupal 6 website, this book is for you. This book is a revised, updated and expanded edition of Drupal 5 Themes, written specifically for Drupal 6. ...

    Drupal.8.Configuration.Management.1783985208

    Drupal 8 Configuration Management is intended for people who use Drupal 8 to build websites, whether you are a hobbyist using Drupal for the first time, a long-time Drupal site builder, or a ...

    drupal的addtoany模块

    Drupal的AddToAny模块是一个非常实用的工具,尤其对于那些希望增强网站社交分享功能的用户而言。这个模块专为Drupal 6设计,旨在提供一种简便的方式,让访客能够订阅、收藏网页内容,并且能够通过电子邮件轻松地将...

    Drupal 8 Module Development 2nd Edition

    In his spare time, he runs webomelette, a Drupal website where he writes technical articles, tips, and techniques related to Drupal development. Table of Contents Developing for Drupal 8 Creating ...

    Learning Drupal 6 Module Development

    This book will give you a clear, concise and, of course, practical guidance to take you from the basics of creating your first module to developing the skills to make you a Drupal developer to be ...

    Leveraging Drupal-Getting Your Site Done Right(2009)

    《Leveraging Drupal®: Getting Your Site Done Right》是Victor Kane所著的一本专为希望利用Drupal内容管理系统(CMS)来创建和管理网站的专业人士编写的指南。本书不仅介绍了Drupal的基础知识,还深入探讨了如何...

    drupal 6.12

    * your site runs multiple Drupal installations from a single codebase (modify the file system path of each installation to a different directory so that uploads do not overlap between installations...

    Decoupled Drupal in Practice

    Part ll.Consuming and Manipulating Drupal8 10.Core REST 11.Using Views with Core REST 12.JSON APlin Drupal 13.RELAXed Web Services 14.GraphQL in Drupal Part IV.The Decoupled Drupal Ecosystem 15.AP-...

    Beginning.Drupal.8

    《 Beginning Drupal 8》这本书是针对初学者的一本详尽指南,主要涵盖了Drupal 8的基础知识和实践应用。Drupal是一个开源的内容管理系统(CMS),广泛用于构建网站和应用程序。Drupal 8作为其最新版本,带来了许多...

    Beginning Drupal 8 中文版

    《 Beginning Drupal 8 中文版》是一本专为初学者设计的 Drupal 8 指南,旨在帮助读者快速掌握这一强大的开源内容管理系统。Drupal 8 是 Drupal 的一...配合提供的 begining-drupal8-cn.pdf 文件,学习过程将更加顺畅。

Global site tag (gtag.js) - Google Analytics