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: [download#7]
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.