Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-01-07 16:27:27
- lkjlkjl
- New Member
- Registered: 2008-01-07
- Posts: 2
Txp running on a Mac?
Hello,
Didn’t see this elsewhere on the forums, so here goes:
Currently running a Blogger blog that I’d like to swap over to Textpattern one of these days. The catch is that I don’t have a host yet, so in the meantime, I’d like to set everything up locally before uploading it.
I’m not sure how to set up the databases, get Apache running, etc.
My questions are:
1. Is there a guide on how to do this somewhere?
2. When moving from the local copy to the server, how difficult will the move be? I understand moving the db is going to be the most difficult part of this….
Thanks for your help.
Offline
Offline
#3 2008-01-07 16:43:04
- lkjlkjl
- New Member
- Registered: 2008-01-07
- Posts: 2
Re: Txp running on a Mac?
Wow, thanks for the quick response!
I’ll check it out, I’m sure I’ll have more questions later tho.
Offline
Re: Txp running on a Mac?
1. Download MAMP and install. It installs mysql, php, apache for you required to run txp.
http://www.mamp.info/en/mamp.html
2. drag a copy of textpattern to the htdocs folder that is created by MAMP
3. Follow instructions on how to install textpattern and it’s database.
4. run apache and u shd be able to see your website @ http://localhost/
5. When you want to move to a live server, backup the mysql database via export @ phpMyAdmin as a .sql file, and import via phpMyAdmin (any decent webhost will have this) as well. If you can, make sure the username, database names are the same.
6. Or you’ll have to edit config.php to reflect the new database name, user and password.
7. If you need more details and explanation, google. :)
Hope this helps.
Offline
#5 2008-01-07 17:02:43
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: Txp running on a Mac?
lkjlkjl
Welcome to Txp!
Just one tip — and this can catch people out when they first start using Txp — make sure you remember to copy the .htaccess
file from the textpattern download to your local installation. As you’re on a mac, it will probably be a hidden file too.
— Steve
Offline
Re: Txp running on a Mac?
I have found that MAMP + ForkLift (shows hidden files, FTP) + Coda work great, way better than anything I had when I was on a PC. Throw some virtual domains in there (i.e. your site is mysite.com, and your local copy is mysite.dev) and you’re golden.
Offline
Re: Txp running on a Mac?
Which begs the question, what’s wrong with Apple’s AMP stack?
OS X has *nix roots, just like my Debian, which with a simple apt-get, I’m hosting baby!
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Re: Txp running on a Mac?
lkjlkjl, IMO MAMP is not worth it. It wastes RAM, since you’re running an app and server processes, and duplicates PHP and Apache installs (native copy in /etc and MAMP version in /Applications). It’s easy to setup a native MAMP. Trust me, it’s not scary even though there is a command line involved. It’s less than 5 min install time, once everything is downloaded.
Bert, the biggest problems with PHP, Python, and Rails is that they’re missing standard components, namely image processing. It doesn’t make any sense to include limited language installs when it’d be easier to include none at all. They’re easy enough to patch, but four-way universal binaries were introduced with Leopard, so you’ve got to tack more stuff on to ./configure
. For a make
-hater like me, it sucks, but it’s bearable.
I do wish there was native package management. DarwinPorts/MacPorts and Fink are a patch, but they’re nowhere near as simple as apt-get
. Perhaps in a distant release with 300 useful features, this will become a reality.
That said, I still prefer developing on my iMac (1yr old in 3 days) than on Windows and Linux. Once you’ve used TextMate, you can never go back to Windows and Linux editors like Notepad++ and Bluefish.
Offline
Re: Txp running on a Mac?
lkjlkjl, IMO MAMP is not worth it.
I kinda know that, but I don’t know anything about setting it up and I just never bothered since there is MAMP. I plan to upgrade to Leopard some time next week, so I’ll probably use the native environment then and get rid of MAMP.
Offline
Re: Txp running on a Mac?
Which one better? MAMP or XAMPP? can anyone give some reviews? Why MAMP and Why XAMPP?
Offline
Offline
Re: Txp running on a Mac?
jm wrote:
Bert, the biggest problems with PHP, Python, and Rails is that they’re missing standard components, namely image processing.
You’re right, that doesn’t make any sense, you need GD at least. Now I understand, the stack exists but is crippled in an iTunes DRM sort of way. Bummer on the stack but I hear you on textmate, one can only dream of a Mac Pro future :)
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline