Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2007-04-07 07:25:51

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,909
Website

Re: So I'm about to buy my first Mac and need Mac user advice....

Excellent, Marios.
(I’ve been very busy with work and family)

I’ll start with that first book straight away.

I’m feeling a little (lot) disoriented. For example I need to install MAMP, but I don’t know if I can work outside of the htdocs folder (for virtual directories) or if there is an equivalent of a Windows “hosts” file I have to modify.” I think I understand well what you mean about “has consumed large amounts of time”.

P.S. In case anyone feels compelled to suggest I install local dev components by scratch or use VMware or whatever…I really don’t have the time for the learning curves right now…I just need to get my sites local so I can work, and I know the XAMPP stack well already…except not the Mac architecture. Yes, large amounts of time indeed.

Offline

#26 2007-04-07 07:38:39

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: So I'm about to buy my first Mac and need Mac user advice....

Destry wrote:

I’m feeling a little (lot) disoriented. For example I need to install MAMP, but I don’t know if I can work outside of the htdocs folder…

Hi Destry,
You can have any docs folder you wish with MAMP.

Open MAMP
Click on preferences
Then Click Apache
Type the route you want

The limitation is that it can only work from one folder…


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#27 2007-04-07 10:48:40

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

Re: So I'm about to buy my first Mac and need Mac user advice....

You can also create any number of symbolic links for various root folders and place those inside the HTDOCS folder.

SymbolicLinker is a nice context menu plugin that makes creating symlinks a snap.

Cheers Martin

Offline

#28 2007-04-08 12:57:24

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,909
Website

Re: So I'm about to buy my first Mac and need Mac user advice....

Nifty, thanks guys, that should help get me going.

Offline

#29 2007-04-09 00:24:25

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: So I'm about to buy my first Mac and need Mac user advice....

Also Netinfo Manager let’s you create local domains names like you would with the hosts file.

Open NetInfo Manager, click on machines in the middle column, Duplicate localhost and give it whatever name you want. I use that to create .test virtualhosts for local testing.


Shoving is the answer – pusher robot

Offline

#30 2007-04-11 18:21:35

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,909
Website

Re: So I'm about to buy my first Mac and need Mac user advice....

Ah, thanks hakjoon, that looks like what I’m after.

Mainly, anywhere I have a live site, I want a local version that has a very similar url, e.g.:

site1.com
local.site1.com

…so that when I upload a db dump to live (or visa versa), all the root-relative links are intact. In windows this never worked when working out of the htdocs folder, but it did just fine when working from the c:\ root, like c:\_txp\site1; basically like it’s described here in TextBook.

Oh, hey, I guess I should give the TxB MAMP instructs a look, for kicks.

Offline

Board footer

Powered by FluxBB