Auto Site Start MODx Resource Install Script
A while back I posted an sql install script that I use for MODx that I called ResourceInstaller. My plans of creating a module based around this script haven’t materialized into anything yet, but the script has evolved a bit. I’ve renamed the sql script to AutoSiteStart because there was another project named similar to ResourceInstaller, and this script now installs more than resources. I wanted to take the time to post the sql script I’m using now since I think it shows a great way to get your development automated using MODx.
Download: AutoSiteStart.0.2-beta (195)
This sql script installs:
Categories
Templates
Template Vars
Content
|
Chunks
Snippets
Users
Roles
|
This script should be considered to be pretty beta and should only be used if you know what you are doing (there’s a bunch of todos/bugs listed in the file). I maintain and change this script on a local mysql database and when I make changes I just do a data only export. Also, this script is meant to be installed right after you install MODx, since I’m sure their would be some duplicate key errors if you install it after you’ve added some users or templates. ![]()

Comment by Chuck - ProWebscape
on 04 Jun 2008 at 1:26 am #
Hey James,
That download’s not available anymore. Do you happen to have it around anywhere?
Chuck
Comment by James Ehly
on 04 Jun 2008 at 8:10 am #
Hey Chuck, thanks for pointing that out! The wp-DownloadMonitor plugin I use for Wordpress decided to mess up all of my downloads the last time it updated
Seems like WP’s fancy new plugin updater has some kinks to work out. All is well now, so it should work.
James