how to work on Scriptcase project by storing it on the network?

Hello, so far I’ve been the only one working on our Scriptcase project, so everything was locally on my pc, then I would create the deploy file and push it into production.

Now we’ll have more people working on the same project, and I wanted to know with Scriptcase is this possibile?

Something like GIT, so everybody can access the Scriptcase project and do changes.

The first idea I had was to put the whole Scriptcase folder from my PC to a network folder, and then in the Scriptcase options, change the path from local to my network disk.

Would this approach work?

Or are there better ways?

Thank you

i think the best is to [LIST=1]

  • make a full backup of your project
  • install SC on the network
  • import your backup in new installed SC [/LIST]
  • And buy he enterprise license if multple developers must work on SC at the same time…
    AFAIK, with the starter and professional versions only one developer can login to the SC IDE.

    so do I need to install SC on the network? Is it not possible to just move the “wwwroot” folder with all its contents onto the network, and then from my local installation, just change the path to the new folder on the network?

    And with this solution, how would it work when 2 people are connected to the same project?
    Let’s say one does change something on an application, will the other user see the changes right away? Is there a risk that 2 people modify the same application at the same time, what would happen?
    As I’m used to the Commit/Pull way of GIT

    Of course, we would change our license type and buy additional slots for multiple developers

    Access to the SC IDE is via a web broswer, connecting to the web server installed by the SC installer.
    All project directories and files are managed by the SC web server.
    Hence what needs to be accessible by developers on the network is just the SC web server.
    The SC web server must of course access the project dirs and files via either its local or network file system, but that is transparent to developers.

    Muliple developers will access the SC web server each from their own PCs using a web broswer.
    The SC IDE URL used in the broswer must resolve to the SC web server on the network.
    I have no idea how smart is SC in handling councurrent editing of the same project\app.

    Thank you for the answer!
    So you make a distinction between SC IDE and SC webserver,

    if I got this right, SC IDE is what I use to create Applications and so on (access with the browser)
    and SC webserver is the part that gets installed with SC and that allows you to navigate with the browser to access the SC IDE

    is this correct?

    so basically, I will need to install SC on the network, so it has SC webserver, and then from my local pc, just navigate to with the browser to the new address, and it should connect to the SC IDE installed on the network?

    what will the path look like once it’s installed on the network and I want to access from my pc? currently, with everything being local, I just use ‘‘http://127.0.0.1:8090/scriptcase’’

    Yes, the web server is what exposes the SC IDE
    You already have a SC web server on your PC.
    In theory (if there are no configs or firewall rules or blocking it) other users could use the SC web server running on your PC by opening a web browser to:
    ''http://[your-pc-ip-address]:8090/scriptcase".

    Once you install SC on a real “server” (i.e.always on and accessibile by everyone), to use it just change 127.0.0.1 to the IP address of the server (or a name that can be resolved to that IP address by a DNS server)

    Keep in mind that http is not secure.
    If you have any security concerns on your local network, you shoud use https

    thank you for the answer, so we did move everything, installed SC on the server (windows server os) and from our local computers we can connect without issue to scriptcase IDE by using the server’s ip!

    So all this is good, but we have an issue.

    The server where currently SC is installed, doesn’t have an automatic backup, so our idea was to keep SC here, but is there a way to keep the project files on another server?
    Because that other server gets back up every 24 hours so we want our project to be there, but we cannot install SC there!

    What I tried was to go in the SC options and change the paths, so instead of being C://programs/netmake/…/wwwroot
    I created on the second server a folder and copied all the SC files there, and in SC options I changed the path to: R:/newFolder/wwwroot

    What happens is, when I run SC now, it gives an error as soon as I try to generate the apps, and the error is:

    opendir(C:/Program Files/NetMake/v9/wwwroot/R:/newFolder/wwwroot/scriptcase/app/myApp/select_user_my_items/): failed to open dir: No such file or directory |

    so as you can see, instead of taking the new path (R:/…), it still takes the local path on the server where its installed (C:/ …) and then appends the new path to it!

    So my question is, how can I keep SC and its installation files on our Server, but everything related to the apps (wwwroot/scriptcase/app/) to be on a different path (a disk on the network, in my case R:/) ?
    Is this possible?

    Drive mappings executed by the logged in user are not seen by windows services, becuase services run in a different context then the interactivly logged in user.
    So I don’t think the SC apache service is able to see any letter except the local disks.

    You cound try using a symbolic link to a UNC:
    https://ss64.com/nt/mklink.html
    “Symbolic links are transparent to users; the links appear as normal NTFS files or directories, and can be acted upon by the user or application in exactly the same manner. Symbolic links can span volumes and can use UNC paths.”

    I don’t know if the service login context right to access the network is checked when using symbolic links, but you coudl try.

    But generally speaking I wouldn’t do what you’re trying to do.

    I’d rather have all files local to the web server and then schedule a daily file copy (e…g. robocopy) form the web server to the server that get back up.
    But I don’t know it SC locks any file and if you coud have some issue with open fiiles\DBs.

    thank you very much for the answer, we ll now look into it and see what solution fits us best! thank you