Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#2 2008-01-07 16:40:07

variaas
Plugin Author
From: Chicago
Registered: 2005-01-16
Posts: 402
Website

Re: Txp running on a Mac?

I highly recommend using MAMP. It runs apache, mysql, and php all in one nice package. You can easily install/uninstall MAMP and I use it for my test TXP environment.

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

#4 2008-01-07 16:58:04

wynlim
New Member
From: Singapore
Registered: 2008-01-07
Posts: 5
Website

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

#6 2008-01-07 17:27:54

draganbabic
Member
From: Novi Sad, Serbia
Registered: 2006-09-27
Posts: 118
Website

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

#7 2008-01-07 19:39:23

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

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!

Offline

#8 2008-01-07 22:10:10

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

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

#9 2008-01-07 23:50:59

draganbabic
Member
From: Novi Sad, Serbia
Registered: 2006-09-27
Posts: 118
Website

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

#10 2008-01-08 03:26:55

jauhari
Member
Registered: 2007-05-24
Posts: 97
Website

Re: Txp running on a Mac?

Which one better? MAMP or XAMPP? can anyone give some reviews? Why MAMP and Why XAMPP?

Offline

#11 2008-01-08 03:37:23

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: Txp running on a Mac?

Uh, neither. Native > MAMP.app > XAMPP.

Offline

#12 2008-01-08 06:11:10

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

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 :)

Offline

Board footer

Powered by FluxBB