donators

trendlocation.de
Your ad here

supported by

 TYPO3 Hamburg
 TYPO3 Anbieter

K * L * U * K

order your KLUK shirt

Advertising

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

By: Thomas

22.02.08 11:10 Age: 84 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

trackback to this entry

bookmark now at:
ask.comdel.icio.usdigg.comgoogle.comlive.comMa.gnoliaMister Wongnetscapestumbleupon.comTechnoratiYahooMyWeb

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

May 2008
M T W T F S S
« Apr    
 1234
5670891011
12131415161718
19202122232425
262728293031  

Latest comments

  • Thomas

    Hi Tobias, I linked that page already in the post. But the fact that you posted that link again m...

  • Tobias

    This is the original post by Stephan Petzl in his Blog: www.synapsick.net/nc/rackattack/articles/...

  • Thomas Hempel

    Hi Melanie, we just don't care! ;-) I mean most of us are german and for us tt_clap stands for cla...

  • dieMelanie

    Ihr wisst aber, das "Clap" in der englischen Umgangssprache für Gonorrhoe steht? :-/... :-D

  • Loredana Zeca

    Very nice. I love it, I hope to see it soon how that really works. :)

Advertising