| 1 |
INSTALLATION
|
| 2 |
------------
|
| 3 |
This framework requires two servers
|
| 4 |
|
| 5 |
- a source server (which you will be deploying from)
|
| 6 |
- a destination server (which you will be deploying to)
|
| 7 |
|
| 8 |
It is theoretically possible to have one server act as both source and destination
|
| 9 |
(for instance localhost), however some things may not work properly. For instance,
|
| 10 |
at the moment the content type deployment automatically attempts to create any
|
| 11 |
imported content type. When you deploy from one server back to itself, this will
|
| 12 |
always fail because the content type already exists. Still this can be useful for testing
|
| 13 |
in some cases.
|
| 14 |
|
| 15 |
DESTINATION SERVER
|
| 16 |
------------------
|
| 17 |
NOTE: These instructions assume you have already installed the Services module. If you
|
| 18 |
have not, visit http://drupal.org/project/services and do that first.
|
| 19 |
|
| 20 |
1) Extract the Deployment tarball into your modules directory
|
| 21 |
|
| 22 |
2) Enable Services (under the Services group), XMLRPC Server (under Services - servers
|
| 23 |
group), Content Copy Service and/or System Settings Service depending on your need
|
| 24 |
(under the Services - services group).
|
| 25 |
|
| 26 |
3) Surf to /admin/build/services/settings on your site.
|
| 27 |
|
| 28 |
4) In the Security area, Verify that "Use Keys" is checked, and "Use Sessid" is unchecked
|
| 29 |
(the deployment framework does not currently support using sessions with services).
|
| 30 |
|
| 31 |
5) If you do not already have an API Key generated for this server, surf to
|
| 32 |
admin/build/services/keys/add and create one. You may use strict domain checking if you
|
| 33 |
like but it is not required.
|
| 34 |
|
| 35 |
SOURCE SERVER
|
| 36 |
-------------
|
| 37 |
1) Extract the tarball into your modules directory
|
| 38 |
|
| 39 |
2) Surf to /admin/build/modules on your site
|
| 40 |
|
| 41 |
3) Enable the module Deployment (under the Deployment group) as well as Deploy System Settings
|
| 42 |
and/or Deploy Content Type depending on your needs.
|