Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
What does your fresh install look like?
Wondering if others want to share what their default install of TXP looks like/does. The question arises each time I do one myself. I find myself spending much time stripping away that which I do not need and then adding things I do need like the several essential plugins.
Perhaps someone out there has done work on making the database-population-stage different from the default. One might want their own set of page templates, forms, etc… to come ‘out of the box’. I know it has crossed my mind.
It’s really not a huge time drain to load in all MY defaults, but it seems likely that someone here in the TXP community who know more about PHP MySql than me has some ideas.
So to generalize answers: Please mention what you do differently when installing. Things that require mods to the default package.
txtstrap (Textpattern + Twitter Bootstrap + etc…)
Offline
Re: What does your fresh install look like?
If you want a simpler way of installing plugins, run the following from a shell:
# add a space and the table name after "txp_plugin" to dump another table
mysqldump -u dbUser -p dbName txp_plugin > defaultPlugins.sql
Or you could check the “txp_plugin” table in phpMyAdmin and export that. Either way, once you have your SQL file, import that into your new TXP db.
Last edited by jm (2008-11-21 21:45:22)
Offline
Re: What does your fresh install look like?
Or you could check the “txp_plugin” table in phpMyAdmin and export that. Either way, once you have your SQL file, import that into your new TXP db.
That’s a great idea! In the future I will just use a previously maintained txp db with all my defaults to put in place of a fresh txp db.
Do other do this? I wonder if folks would be willing to post a complete dump of their db. Given that sensitive info is omitted of course. I would certainly post mine once I’m confident it’s is stripped of private details. We’ll see once I’m all set.
How do folks feel about the prospect of a txp templates style site which store people’s default dbs rather that temples. One could post theirs as being suitable for different applications such as ‘magazine’ ‘blog’, etc… Same model as txp garden or another.
You’d have a checklist of the various things to alter per your server environment and db connection scenario. Of the top of me head I can’t think of other details one would need to alter in a ‘txp db template’.
This interests me however I’m sure there are negative implications though they surely could be addressed. Perhaps we could address those here? Just a thought.
txtstrap (Textpattern + Twitter Bootstrap + etc…)
Offline
Re: What does your fresh install look like?
The downside of a db dump is it’s not really easy to read, so the author would need to post specific details of the setup. Also, you could stuff some malicious code in the dump, but I guess the end-user could do a quick search for script, php, and img tags.
Offline
Re: What does your fresh install look like?
Also, you could stuff some malicious code in the dump, but I guess the end-user could do a quick search for script, php, and img tags.
Certainly an ‘at your own risk’ sort of thing. If there were a repository for such dumps it would only list dumps from trusted sources. :)
txtstrap (Textpattern + Twitter Bootstrap + etc…)
Offline
Re: What does your fresh install look like?
For myself i wrote php-file which looks for *.plg
files in some dir. Each file contains plugin code – usual for all of us base64 code. After general setup i just run this file and all plugins i need are installed and activated :)
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
Re: What does your fresh install look like?
whaleen, I usually just install a clean copy of TXP and then add what I want, but sometimes I follow this method if I need to have plugins/forms/pages already installed.
Offline
Re: What does your fresh install look like?
whaleen, I usually just install a clean copy of TXP and then add what I want, but sometimes I follow this method if I need to have plugins/forms/pages already installed.
That’s a great write-up. Thanks. I like that new site too. I’ve been gone for a few months and haven’t seen it yet.
txtstrap (Textpattern + Twitter Bootstrap + etc…)
Offline