3 replies [Last post]
jgarbe's picture
Offline
Joined: 06/17/2009
Juice: 23

Ok, this is a big 'un, but I figured I'd ask here since you guys are so active and amazingly knowledgeable.

Is there a way to set up a drupal installation so that people can literally buy a website? I've researched a whole bunch of ways of doing this, everything from multi-site installs to Aegir to organic groups. The biggest caveat is: we want to be able to have buyers have a URL for their website, so whatever automated process occurs, we want it to be mappable in that way.

Perhaps the real question is how to set up the rewrite file to handle that...I'm thinking that the best we could do with this to make it as instant as possible is a single installation with an automated URL formatter, and then granting a role with Ubercart upon purchase. Then use Themekey or something similar to map their theme onto their pages. The trick would be figuring out how to make it so that http://www.baseservicesite.com/user5/home was the same as www.user5isawesome.com, etc.

Does anyone have any suggestions, broad or specific? Thanks a million!

jgarbe's picture
Offline
Joined: 06/17/2009
Juice: 23
Re: Automating website creation

Essentially, I think I found someone already doing this for general websites: http://www.galaminds.com so I know it is possible...I just may not have enough drupalfoo to accomplish it. Does anyone have any suggestions, broad or specific? Thanks a million!

jgarbe's picture
Offline
Joined: 06/17/2009
Juice: 23
Re: Re: Automating website creation

I think I may have answered my own question, and this is probably an area where people may be a little loathe to share specifics, so here's what I found as blatantly as possible (keep in mind, I'm a nubbin):

-Scripts exist that automatically set up drupal and install it
-There are scripts that automatically install and enable modules
-You can run scripts with PHP, which drupal has many ways of doing
-So...if you just create a product that the user fills in fields with the info you need, when you checkout you can then execute PHP code in some secure manner, and that should set everything up.

The further specifics of this project aren't really ubercart focused, so I'll find another forum for that. If I've gotten anything wrong or am way off base, I'd appreciate somebody shedding light. I mostly bumble around in the dark most times. Usually I bump into interesting stuff.

ccharlton's picture
Offline
Joined: 05/19/2010
Juice: 18
Aegir & Drush

I'd check out Aegir & Drush.

~ ~ ~ ~ ~
- Chris Charlton // LA Drupal Manager
... Learn how to theme Drupal! Watch my videos at http://tinyurl.com/theme-drupal
... Download software for Drupal, Eclipse IDE, and Adobe Dreamweaver: http://xtnd.us