Hello Alec Taylor,
I've done something like this at one of my websites.
The basic steps I use are gather the info in a form.
On form submit the info goes into a website registration database and the user is sent a website creation confirmation email.
The user receives the email and clicks on the supplied confirmation link.
The user is informed that they will receive an email when their website has been created.
(The above should be familiar to those of you that have used James Bennett's django-registration. It's basically the same mechanics but applied to website registration/creation.)
A cron job triggers once a minute and scans the website registration database, creating any confirmed pending website registration requests.
The cron job sets up a django environment and calls a series of custom django-admin commands that creates databases, django projects, apache configs, etc.
The DNS config for the domain is given a wildcard (*.googlegroups.com) address record and Apache is used to redirect to a default domain for any domain that isn't picked up by Apache's config files.
Toodle-looooooooooooooooooo............
creecode
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/0VvJsoARllkJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment