how is your development environment + flow.

Hello fellow phalcon users :)

I'm sitting here and trying to redesign my development environment.

My current setup is: Windows 8.1 Virtualbox with Ubuntu 14.04 and 4GB ram. Git Apache 2.4 php 5.6 mysql 5.6 phalcon 1.3.3 (i think) nginx

This server is almost running all the time my computer is on :/ And all my projects are added as shared folders permanent and then mounted on boot in /etc/rc.local Then i add hosts to my hosts file (C:/windows/system32/drivers/etc/hosts) and then develop in PHPStorm.

This setup does use resources and i don't like that and want to redo it.

So my question is, how is your setup with flow? I have been thinking of using vagrant but can't really see a good way to set that up and when i google i find so many ways to do it and no one is better than the other one.

I have been looking at puphpet and rove.io but those do not have phalcon in and i don't know 100% how to add it and the information i find is depicated or not up2date.

I like my setup with hosts file but it's more the virtual machine i'm curious about.



1.6k

Speaking of Vagrant, there is offical Vagrant + Phalcon: https://github.com/phalcon/vagrant

I personally use my Vagrant: https://github.com/kenjis/vagrant-centos6-php Because I use CentOS6.



13.7k

I know there is that one. but i'm curious on how ppl develop with phalcon :)

Speaking of Vagrant, there is offical Vagrant + Phalcon: https://github.com/phalcon/vagrant

I personally use my Vagrant: https://github.com/kenjis/vagrant-centos6-php Because I use CentOS6.



7.2k

You can work directly in the Linux and not have the inconvenience :)

ArchLinux+lighttpd+PHP5.6+CPhalcon+Atom+Sublime+Node+Redis+MariaDB + ... The opportunity to start and manage anyone server (lighttpd, nginx, apache, node servers and other) on the fly and use all the the buns Developer for Node (gulp, sass angular and other). As result, you can develop and manage the project on the fly.



13.7k

i'm not interested in running native linux on my desktop :)

You can work directly in the Linux and not have the inconvenience :)

ArchLinux+lighttpd+PHP5.6+CPhalcon+Atom+Sublime+Node+Redis+MariaDB + ... The opportunity to start and manage anyone server (lighttpd, nginx, apache, node servers and other) on the fly and use all the the buns Developer for Node (gulp, sass angular and other). As result, you can develop and manage the project on the fly.



7.1k
edited Dec '14

Another way to work is install Ubuntu through Wubi, you will have virtual Linux installation with dual boot, but you can delete this distribution through Add and Remove Program windows tools. I know that it is not ideal solution but I worked a lot in this environment and I can say that it's more appropriate solution than Develop in windows using virtual box.

https://wiki.ubuntu.com/WubiGuide

http://releases.ubuntu.com/trusty/

http://releases.ubuntu.com/trusty/wubi.exe



13.7k

I actually came up with a solution.

the result: https://github.com/zyxep/vagrant-ansible-phalcon