Vagrant Setup for TYPO3 Flow

By | 04/01/2013

Since I started to work with TYPO3 Flow there are this moments where I require a clean installation of TYPO3 Flow to test something. For this reason I spent some of my free time during the holidays to setup a vagrant box that will provide that for me.

This box is also useful if you want to get some first experience with TYPO3 Flow and you don’t have a server environment where you can install it. Just install VirtualBox, Ruby, Rubygems and follow the instruction in the Readme file. The setup will take some time the first time (without download about 433 seconds) and the required base box (Quantal 64bit) will be downloaded automatically the first time. If everything worked you should be able to call http://typo3.flow and you should see the welcome screen from TYPO3 Flow.

welcome-screen

I only tested it on Ubuntu, but normally it should work with Mac and Windows also. If there is something not working, feel free to contact me and I will try to help.

Happy New Year and happy cloning: https://github.com/tlayh/vagrant-typo3flow

Thomas

8 thoughts on “Vagrant Setup for TYPO3 Flow

  1. Roland

    hi thomas,

    thanks for your vagrant setup for TYPO3 Flow!

    it seems to work on my mac: the TYPO3 Flow welcome page is shown after running vagrant up.

    You described that your vagrant setup e.g. is meant to be used to setup a box to develop TYPO3 Flow applications “to get some first experience with TYPO3 Flow”. That’s exactly what i was searching.

    — quote —
    With synced folders, you can continue to use your own editor on your host machine and have the files sync into the guest machine. [1]
    — /quote —

    Does your setup support “synced folders” and “to use your own editor on your host machine”? i searched but could not find the TYPO3 Flow files on my mac.

    i am looking forward to your reply.

    kind regards

    roland

    [1] http://docs.vagrantup.com/v2/getting-started/synced_folders.html

    Reply
  2. Thomas Post author

    Hi Roland,

    to use the synced folder you have to map them between the virtual box and your host machine.

    You can add something like this to the Vagrant file.
    config.vm.synced_folder “src/”, “/srv/website”

    http://docs.vagrantup.com/v2/synced-folders/basic_usage.html

    Currently I have to admit that I normally don’t use this feature. What I do is to download the files from the box and use sftp to sync the files between my host system and the box.

    The IP from the box is: 192.168.23.3 and it is configured in the Vagrantfile.

    Does this help?

    Kind regards,
    Thomas

    Reply
    1. Roland

      hi thomas,

      thanks for your reply and the tipp with sftp. i guess this will also work. i did not think about this option. thanks.

      another question: would it make sense to add xdebug to your setup? i am not an expert with chef or xdebug, but i am motivated to try to add it to your setup if it would make sense for you. (unfortunatelly not before august…)

      Reply
  3. Thomas Post author

    Hi Roland,

    yes, xdebug would make sense. Good point. I can try to do this and will add an update here if I did it.

    Kind regards,
    Thomas

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *