SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Addict stu567blue's Avatar
    Join Date
    Aug 2007
    Posts
    316
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Red face Setting up a remote development environment

    Hi All,

    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.

    Many thanks

  2. #2
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    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.
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.


  3. #3
    SitePoint Evangelist captainccs's Avatar
    Join Date
    Mar 2004
    Location
    Caracas, Venezuela
    Posts
    516
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by logic_earth View Post
    Having that local server makes testing code a lot faster.
    And bugs don't bomb the server!
    Denny Schlesinger
    web services

  4. #4
    SitePoint Guru bronze trophy
    Join Date
    Dec 2003
    Location
    Poland
    Posts
    930
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by captainccs View Post
    And bugs don't bomb the server!
    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.

  5. #5
    I solve practical problems. bronze trophy
    Michael Morris's Avatar
    Join Date
    Jan 2008
    Location
    Knoxville TN
    Posts
    2,023
    Mentioned
    62 Post(s)
    Tagged
    0 Thread(s)
    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.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •