CD Deploy is a Webserver for Drupal that runs from a CD/DVD media on Microsoft Windows 9x/ME/XP and Vista.
HOW TO USE
Structure
The 'app' folder is the right place to copy your Drupal site.
The 'lib' folder is used to save any 3rd party software needed to create the Webserver executable. This forder contains a Makefile which have instructions to create the folder 'server'.
The 'db' folder should be created manually, containing a copy of your Drupal site's MySQL Database.
Install 3rd Party Software
By default, CD Deploy comes without any 3rd party software, have to be downloaded from the Internet using the Makefile script available in folder 'lib':
$ cd lib
$ make all
Install Database
- Copy Database
Create the folder 'db', and copy there all files of your MySQL database.$ mkdir 'db' $ ls app db lib LICENSE.txt Makefile Start.nsi
- Register database for Drupal
This might be the hardest step but is done only once:- Once you have installed 3rd party software (see Install 3rd Party Software above), copy the folder 'lib/server' into a windows box.
- Run the program 'Start' (or Start.exe)
- Create directory www into server folder
- Start Apache and MySQL, using menu in tray icon with symbol [1]
- Open a web browser and go to http://localhost/apanel/phpMyAdmin/
- Create a database named 'cddeploy'
- Stop Apache and MySQL, using menu in tray icon with symbol [1]
- Overwrite database 'mysql' from Windows box, it is located at usr/local/mysql/data
- Copy the actual files of database 'cddeploy' to 'db' folder (see Install Database, step 1)
Copy Drupal Files
- Copy Database
Create the folder 'www' into folder 'app'$ cd app $ mkdir www $ ls AUTORUN.INF www
- Copy your Drupal files. As reference, file index.php should appear right into folder 'www'.
Configure Settings.php
Connection string of file settings.php should use following grants:
user: root
password: root
database: cddeploy
Personalize AUTORUN
Edit file AUTORUN.INF, see more about this kind of files here.
Deployment
- Use the main Makefile
$ make all
- Burn the contents of folder 'app' to a your non-writable media (i.e: Business Card CD)
Run Test
Insert your non-writable media into a Linux box and let me know the results :)