I have been approached to do a website, one of the requirements is that it be able to be handed out on one of the business card cd',

\I have searched the site, and i have ssen that people have put drupal on flash drives, using WAMP or LAMP. But has anyone ever put it working on a cd?

Thanks

Guy shepperd

Comments

KSA213755’s picture

I thought it sounded like an interesting question, so I googled it with: "dynamic website on a CD"

and found this blog: http://blog.parasight.de/archive/dynamic-websites-from-cd-rom

which referenced this site: http://www.indigostar.com/microweb.htm

Roger

sepeck’s picture

http://drupal.org/node/27882

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide

dman’s picture

But I've sometimes wanted to demo the actual dynamic aspects of a database (or otherwise clever) site.

Many years back I rolled my own combo of a minimal apache,perl,php distribution that did the job.
By rolled my own, I mean I just put the right binaries in the right place on a windows system, no compiling or anything wierd.

I had a launch bat script that located the users temp dir, unpacked my mysql/data directory into it, tweaked the mysql launch command on-the-fly, rewrote a few apache and php directives and launched. Works nice.

This was a fully working demo disk of an emulation of a full working online banking application (Perl with databases). It got distributed as promo items.

I recently converted the bat to a windows script host thing that displays a little intro and does a few system checks while it's warming up.

My portfolio/demo CD runs half-a dozen stand-alone dynamic sites just by popping in the CD.

Recently I have started using XAMMP, and it looks like a similar thing could be done, but I haven't looked into it.

It's tricky, but possible. There are a few commercial products which can do it out-of the box, so if you want to save 3 days fiddling and testing and finding it doesn't work when someone's mapped their cd drive to a different letter or has something already running on port 80 etc (surmountable, but requires thinking) you should probably consider that.

.dan.

http://www.coders.co.nz/

michaelangela’s picture

I haven't looked into it specifically, and I don't know what the issues would be with licensing, etc., or security issues! But I believe xampp has some start up options that allow it to run from wherever, i.e. without an install. I'd have to check to be sure though.

Just saw more closely the post above! If we get a chance, we'll take a look.

--------------------
Michael
http://michaelangela.name

sepeck’s picture

I believe a CD will be a problem. MySQL would require write access. On the other hand a flash drive works just fine
http://www.blkmtn.org/book/drupal

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide

dman’s picture

I got MySQL to dump into and launch from the temp directory.
A 3 second delay the first time, but with lookahead it was seamless for subsequent uses.

.dan.

http://www.coders.co.nz/

RandomCl’s picture

Hi everybody,

Outsite-In is a new software that helps you to copy offline your dynamic website files and data: On a CD, DVD, USB flash driver, even on a setup.exe file.

Take a look to OutSite-In website: http://www.outsite-in.com/

Some solutions proposed to webmasters, web agencies, e-vendors, online educators:
http://www.outsite-in.com/en/outsite-in-solutions.html

30-day free trial at:
http://www.outsite-in.com/en/download-outsite-in.html

Cheers!
Claudia - OutSite-In Team

lejon’s picture

I've just added a handbook page on doing this for free with Server2Go: http://drupal.org/node/303458

Comments welcome!