stu567blue — 2013-05-16T16:46:50-04:00 — #1
I am looking to start works on developing my website which is an online e-commerce store, hosted on a Linux VPS server and I am looking to start making the website responsive. I am considering developing the website remotely and then submitting the changes through something like source control.
The problem I'm having is I'm not entirely sure how to set up a remote development environment, how to develop and view the website changes without them being made live? Would it be easier to use a localhost on my computer and upload the changes bit by bit. I am using aptana to develop the website and any advice that the forums could offer would be great.
logic_earth — 2013-05-16T17:05:17-04:00 — #2
It would be better to develop and use a test server on your computer, and then upload to a staging server that resembles as close to the live sever as possible. Having that local server makes testing code a lot faster.
captainccs — 2013-05-16T17:38:40-04:00 — #3
And bugs don't bomb the server! :rofl:
lemon_juice — 2013-05-16T17:55:37-04:00 — #4
A few years ago a new developer didn't code properly a function for recursively deleting a directory with all its contents. Result? The whole site got deleted within a second! As a result there were 0 files left! :). And we were close to a small disaster because there were many other live sites on the same server so potentially the buggy function could have deleted all of them since the permissions weren't set up properly to prevent that.
michael_morris1 — 2013-05-16T22:24:55-04:00 — #5
If you have a newer computer with the processing power to spare Virtual machines are a delightful tool. You can set one up using the same OS as the final server in most cases, or if the deployed server is itself a virtual machine you can clone that server and run the clone locally.