donators

n@work Internet Informationssysteme GmbH
Your ad here

supported by

 TYPO3 Hamburg
 TYPO3 Anbieter

Advertising

How to use FLOW3 on Mac OSX with VMware [UPDATE]

By: Thomas

22.02.08 11:10 Age: 134 days
FLOW3 directory structure

FLOW3 directory structure

Hello,

as you might know I'm a friend of virtual machines on OS X. The simple reason is, that I want a clean Linux server system as base for my installations. I also had always problems with macports and the other projects with similiar approaches but that's not the point here.

The downside of this approach is, that you have to keep the code out of the virtual machine if you want to edit it in your editor of choice on OSX. In my case the code is managed and edited in Eclipse PDT. Now you have two possibilities to achieve that. You can set up an NFS server in your virtual machine or you use the "shared folders" feature most vm programs provide. By the way, I am a vmware guy and so some things might work a little bit different in virtualbox or parallels.

Some days in past I decided to use the shared folders to link my workspace directory from eclipse into the virtual machine. In my eyes, this is the easiest way of sharing files between host and guest system. It also has the big advantage that you don't have to change anything in your OSX installation. Just launch Eclipse and checkout the project of your choice. ;-)

To get a running TYPO3 installation I use the dummy package extract it on my guest system and link to the source which is located on the host and shared to the guest system. You see this is very similar to a normal installation with the only difference that the source is outside the system but as long as the system does not know that we should not think about it. ;-)

The FLOW3 framework is a little bit different because there is no real distribution package yet which can be downloaded an unpacked. But it's pretty simple to get a running system with editable code from outside of the virtual machine. You only have to follow a few easy steps:

  1. Checkout the sources of FLOW3 from https://svn.typo3.org/FLOW3/Distribution to your host system.
  2. Create a folder for flow3 in the docroot of the guest system and make sure that is writeable by the webserver.
  3. Copy the index.php and the .htaccess from the Distribution folder of the FLOW3-checkout to the new folder on the guest system.
  4. Create a folder "Packages" in the FLOW3 folder on the guest system.
  5. Link to the trunk folders of the Packges "FLOW3" and "PHP6" as show in the diagram.

Now you can call the index.php with your browser or on the command line and you should get the default view of FLOW3.

Whenever you want to install a new package you just have to link it the same way as you linked "FLOW3" and "PHP6" packages.

Greets,
Thomas

 

[UPDATE]Please note, that you also have to copy the .htaccess file from the "Distribution" folder to your own FLOW3 folder. If you don't do so, you will get 404 errors due the missing rewrite rules for the Apache.


Please leave a comment

2 Responses to “How to use FLOW3 on Mac OSX with VMware [UPDATE]”

#1: Ingo commented on Friday, 22-02-08 13:00

Gravatar: Ingo

How about also linking the index.php?


#2: Thomas Hempel commented on Friday, 22-02-08 15:07

Gravatar: Thomas Hempel

Hi Ingo,

I'm not sure if that would work because of some issues with symlinks in apache. You might land in ano environment that you don't expect. I experienced some problems with links during installer development and since then I'm a little bit mor carful. But one can try it of course. It's fine if it works.

Greets,
Thomas


Leave a Reply

You have to activate JavaScript to post comments!

Calendar

February 2008
M T W T F S S
« Jan   Mar »
 123
4506708910
11121314151617
18192021222324
2526272829  

Latest comments

  • Ron

    Thanks, Thomas. This is a big help. Some folks might need to know that when they are setting up the ...

  • Thomas Hempel

    Hi, @Andreas: I'm sure there is a solution to start Firefox directly with a profile. Even on OS ...

  • Fran?ois

    On Mac there's an even simpler solution: http://codecontortionist.com/software/mac-osx-software/...

  • Andreas

    Thanks a lot for your article. I'am working with linux and till now I run firefox under a different...

  • Thomas

    Hi Jonas, you have to be logged in. Open the issue you want to tag. At the end of the description, ...

Advertising