Customer Portal

Get Involved. Join the Conversation.

Topic

    Simon Kay
    Creating a local development environmentAnswered
    Topic posted January 4, 2019 by Simon KayBronze Medal: 1,250+ Points 
    31 Views, 3 Comments
    Title:
    Creating a local development environment
    Summary:
    Multiple developers on one environment?
    Content:

    Hey all,

    So it used to be me just editing on our customer portal test environment, it was slow but it worked. Now we have 3 devs and each of us are stepping on each others toes and its causing all sorts of problems. Has anyone managed to create a local development environment that will connect to the back-end of our service cloud? If so any advice?

    Thanks,

    Simon

    Version:
    3.7

    Best Comment

    Shiloh Madsen

    Unfortunately, its not possible to have RNT running locally on a computer. the best you could do is have multiple test environments to work in. This is not actually reasonable for most people to have set up, and it obfuscates the real need, which is to prevent you from overwriting each others work. This is clearly a call for you to have a version control system like SVN. Unfortunately because of some directory locking issues, you cant actually VC off of webdav directly, you have to have a local copy of the files to version control. My work process is that I us VS Code for all my work and have it setup to commit to VCS on save. I work on code, copying it to webdav as I go, then on completion of what im working on, i push my repo to remote. 

    You'll still step on each other this way (if you're not communicating with each other about what you're doing) but at least this way you should have both versions of the file to do a merge. 

    Comment

     

    • Shiloh Madsen

      Unfortunately, its not possible to have RNT running locally on a computer. the best you could do is have multiple test environments to work in. This is not actually reasonable for most people to have set up, and it obfuscates the real need, which is to prevent you from overwriting each others work. This is clearly a call for you to have a version control system like SVN. Unfortunately because of some directory locking issues, you cant actually VC off of webdav directly, you have to have a local copy of the files to version control. My work process is that I us VS Code for all my work and have it setup to commit to VCS on save. I work on code, copying it to webdav as I go, then on completion of what im working on, i push my repo to remote. 

      You'll still step on each other this way (if you're not communicating with each other about what you're doing) but at least this way you should have both versions of the file to do a merge. 

      • Aaron Kirschner

        I would like to second this approach.  The 'WebDAV Upload' extension for VS Code makes it pretty simple for you to edit your local file and then upload it to the Oracle server. 

        It would be nice if there was some way to run everything locally (I had this conversation with someone this morning) but, as said above, multiple test environments helps to mitigate this but doesn't alleviate the possibility of conflicting changes sans some form of external version control.

    • Simon Kay

      Thanks, I figured this was the case but wished there was an alternative!