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

Vagrant Phalcon

Here's a Vagrant Setup I did on the basic Precise32 Ubuntu box to include

UPDATE - Official Repistory Here - https://github.com/phalcon/vagrant

  • PHP 5.5
  • Redis 2.8
  • Apache 2
  • MySQL 5.5
  • PhalconPHP (Compiles Latest)
  • Phalcon Dev Tools (Compiles Latest)

https://bitbucket.org/jream-media/vagrant/src

You can customize this with the init.sh file if you want. I find it easier to do than puppet.

This might help you get started with Vagrant and phalcon tools if you haven't used them yet.

  • Once you $ vagrant up and it's provisioned you are good to go.
  • Just $ vagrant ssh and $ cd /vagrant/www
  • Then type $ phalcon
  • To use composer it's shortcutted to $ composer


98.9k
edited Mar '14

Great, can we publish your repository in an official repository on Github?

Do anything you like with it!



98.9k
edited Mar '14

Thanks, could you please submit a pull request with the code here https://github.com/phalcon/vagrant?

I moved it over here if it helps: https://github.com/JREAM/vagrant-phalcon Also, I removed two lines from the init.sh that no longer apply :)

Not sure if it's working, trying to do a New Pull Request but it isn't letting me, maybe because repo is empty?



98.9k

Could you try again? I added a first commit

I added a pull request, I branched one off, not sure how you wanna do it :)



19.9k

please update your vagrant boxes with latest phalcon verion.

I made a new develop branch https://github.com/phalcon/vagrant/tree/develop to use the Phalcon PPA to always have the latest version. Give me a little bit to properly get it going I have a few glitches with the update.

It would be cool to have devtools in PPA :)