We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Vagrantfile: automating Phalcon installation

Hello guys!

I am using Vagrant for my projects and as the vagrant boxes provided on Phalcon's download page didn't work for me, I managed to create a custom box using PuPHPet and then manually installed Phalcon through the ssh.

  • Vm specs:
  • Ubuntu 14.04 LTS x64 w/ vim
  • PHP 5.5 / Apache2
  • MySQL 5.5
  • Misc stuff (composer, node, python, ruby, mongodb...)

I use both Mac and Windows machines and I did not yet install my box on my Mac. I would like to automate the process of installing Phalcon instead of re-doing it manually. As I am quite new to Vagrant I don't know where to start to automate this installation, apart from the fact I need to edit the vagrantfile. How can I do that with the instructions for Ubuntu listed here? https://docs.phalcon.io/en/latest/reference/install.html

Thanks!



1.1k
edited Oct '15

Oh! Didn't see those :) thanks, will check 'em out and see how it goes!

EDIT: Great thank you, it works fine :)