PHPStorm Development Testing with SSH or Github?

Marcus

Well-known member
Currently I have setup PHPStorm to upload file changes from my desktop project directory to my development www directory. After I change the content of a file I click on SAVE ALL and the file will be uploaded to the development server, then I test my changes in the web browser.

How is the process of testing code with Github integration? Is there an automated deployment tool (>>) available? It looks like PHPStorm > Github >> Development Server

How do you program and test your code using PHPStorm?
 
Any particular reason you don't have some sort of AMP stack on your localhost for development? It's much faster and easier. Or even using something like Vagrant.
 
Then don't use nginx, the Web server makes little difference. If you really want nginx use vagrant to setup a develop the environment.
 
How is the process of testing code with Github integration? Is there an automated deployment tool (>>) available? It looks like PHPStorm > Github >> Development Server
I believe you can set PHPStorm to recognise the VCS your project (or a directory) is using and each time you commit your changes, they'll be uploaded to the deployment server you choose.

Another vagrant user here too.
 
What actually is Vagrant? I've looked at the site but didn't actually understand what it did...

Anyhow, I don't use any version controlling system. I just use PHPStorm with the local server...

Liam
 
What actually is Vagrant? I've looked at the site but didn't actually understand what it did...
I am not sure either... let's shake hands! :D

And for VCS I use github with some hooks enabled so that I can manage the versions of my add-ons with as less pain as possible :D
 
What actually is Vagrant? I've looked at the site but didn't actually understand what it did...

Anyhow, I don't use any version controlling system. I just use PHPStorm with the local server...

Liam

It's a VM for development. It actually uses VirtualBox to create a VM for you to use as a development/testing environment. Also creates a directory that you can access from OSX/Windows/whatever you use as the Host OS to develop in so you're developing on your normal OS, but it's being run on a VM that you can view in the browser with it's IP address. It's pretty neat.
 
I didn't want to install multiple third party tools at my private computer. Bitnami seems like a large enough company that would not surprise the user with bloatware.

How compare Vagrant against Bitnami? My first guess was that Vagrant is a very small addon and loads all neded tools mentioned in the vagrant setup from the internet. But when I download the files, Vagrant is 160 MB [without nginx etc] and Bitnamix is 65 MB [with nginx].


PHPStorm greatly integrates with GitHub, and on GitHub I can use a webhook WHICH automatically Pushes to the Development server. But I guess the synchronization is not file to file, but the whole Github project is downloaded as .git and then the development process starts (which takes like 10 minutes). That was not what I wanted :)
 
Last edited:
You're comparing apples with oranges.

Vagrant is a tool used to provision virtual machines. The Bitnami nginx stack I linked to is a development stack much like WAMP. I use it myself (albeit the WAMP/MAMP version, not nginx), I can vouch that it doesn't include any unnecessary prerequisites and the environment is easy enough to customise.
 
Thanks Chris D. I read that there are multiple bitnami releases and one of them would setup within a virtual machine, but I didn't really studied bitnami. I will go with bitnami then, as I just have to install one product without configuring it, and I really just need the most simpliest solution to execute my development code :-)
 
Do you use Git Integration with your Development (1 Developer) and does it help you with coding / reviewing?

My current setup will be Windows + PHPStorm + bitnami. I may just enable PHPStorms Git Integration, but I wonder how that helps when there is just one developer programming.
 
Also should be relatively trivial to upgrade the PHP version within the stack. They have a fairly helpful support forum, perhaps someone has done the same thing.
 
Some thoughts about upgrading bitnami and a tip how to move complete databases to a new installation.

I wanted to install the new apache / php 7 beta 3 release. At the first prompt you see bitnami just installs "mysql". I thought that's because I already installed the nginx release.

So I clicked on "deinstall nginx bitnami" on windows 10 settings. Then I thought it might be possible that also all my data including web and database will be removed. The bitnami windows installer is by the way not recognized by windows, it shows as "unidentified program", which is pretty surprising for a huge company. I stopped the process of deinstalling by hard forcing the program to stop. Now the bitnami nginx stack can not be removed by windows 10 anymore.

My nginx stack database was not removed, so I could copy the whole mysql/data folder to the new apache stack and I can access all my data.
 
The "apache php 7 beta 3" windows stack returns this from phpinfo():
PHP Version 7.0.0beta2
 
Last edited:
Top Bottom