Page 1 of 1

[SOLVED] Making your own "package"?

Posted: Thu Mar 11, 2010 7:46 am
by johnkarlsson
Hey,

Must say, what a great forum!

But.. I didn't find anything on this one,

Lets say I installed, configured, modified a site just the way I want. Now I want this "install" of CMSMS to be the standard
for upcoming customers of mine. Is there a way to pack it all together, upload files and database to another domain and
run it? Or run the install but keeping my configuration.

Whats the easiest way to do this? Of course I could run a clean install with installing my templates, modify, installing modules
etc etc..

I found that MODX (which I dont like at all) got some kind of solution for this.

Hope you understand what I mean :)

Thanks,

Regards
John

Re: Making your own "package"?

Posted: Thu Mar 11, 2010 1:49 pm
by jmcgin51
once you have everything the way you want it, zip up the CMSms directory structure and export the database.

move them to the new site, unzip the directory structure, restore the database, make the necessary changes to config.php, and you're done

Re: Making your own "package"?

Posted: Thu Mar 11, 2010 3:12 pm
by Wishbone
You can try exporting your database and putting the content into "/install/schemas/initial.sql" and "/install/schemas/extra.sql". This is where the default content is placed. You might have to clear out createseq.php, as the sequences are already created.

Re: Making your own "package"?

Posted: Thu Mar 11, 2010 3:51 pm
by johnkarlsson
Ok, that simple.

Great, thanks for your replies!

Re: Making your own "package"?

Posted: Thu Mar 11, 2010 3:55 pm
by calguy1000
You can try exporting your database and putting the content into "/install/schemas/initial.sql" and "/install/schemas/extra.sql".
Nope... sorry, that won't work.

Re: Making your own "package"?

Posted: Thu Mar 11, 2010 4:37 pm
by Wishbone
Obviously I've never tried it, but why won't it work?

Re: Making your own "package"?

Posted: Thu Mar 11, 2010 10:58 pm
by Wishbone
Yes.. I looked at it this morning before I posted... The files looked like a bunch of INSERT statements to pre-populate the database with the initial settings. I was thinking you could replace those settings with the output of a phpmyadmin export.