Announcement

Collapse
No announcement yet.

how to upload a system (multiple applications) to a particular server with Scriptca

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to upload a system (multiple applications) to a particular server with Scriptca

    good afternoon, I would like to know how to upload my application to one server and later viewed via web sena .... someone who help me with this problem and if there is any tutorial please the would greatly appreciate ... my SC 7.1 with BD POSTGRE

  • #2
    web sena.... not sure, but deploying an application goes as follows (there's a movie on scriptcase site). Export your database to a sql text file. Import this one on your production server. Next, deploy your application project -> deploy. Enter valid data. I don't deploy directly by ftp, but use the zip or deploy local on my pc. Then upload the zip to your server and unpack. Then start up your application: www.yoursite.com. It should show your admin panel to set the connection on your production server. Define your connection, save it and quite the browser. Restart browser and go to yoursite.com. The application should run now if you have set the connection right.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      Originally posted by aducom View Post
      Enter valid data. I don't deploy directly by ftp, but use the zip or deploy local on my pc. Then upload the zip to your server and unpack. Then start up your application: www.yoursite.com.
      It's worth noting that some virtual hosting services limit the size of the zip file that can be remotely managed. I have a list of about 10 such hosting services where a 60M plus initial SC deployment file cannot be unpacked. In those cases a FTP transfer of the applications seems the only way. Unfortunately (in my experience) the SC FTP implementation is flaky and nearly always fails around 90% of an initial full transfer.

      I've given up and use an FTP client to transfer to these hosts.

      That said, where the zipped file can be used it seems to work fine, although my paranoia always has me checking permissions afterwards....

      Cheers
      The GuiGuy
      ... from Down Under

      Comment


      • #4
        Originally posted by GuiGuy View Post
        It's worth noting that some virtual hosting services limit the size of the zip file that can be remotely managed. I have a list of about 10 such hosting services where a 60M plus initial SC deployment file cannot be unpacked. In those cases a FTP transfer of the applications seems the only way. Unfortunately (in my experience) the SC FTP implementation is flaky and nearly always fails around 90% of an initial full transfer.

        I've given up and use an FTP client to transfer to these hosts.

        That said, where the zipped file can be used it seems to work fine, although my paranoia always has me checking permissions afterwards....

        Cheers
        Yes, I always upload using Filezilla or something similar. I useually deploy to a local instance for testing and then I ftp the stuff up to the server as individual files. I know that initially it takes long, but actually I don't care. After the initial upload I only upload changed files.
        Albert Drent
        aducom software netherlands
        scriptcase partner, reseller, support and (turn-key) development
        www.scriptcase.eu / www.scriptcase.nl

        Comment


        • #5
          Hi,
          You can download your ZIP to your installer server using curl php function here is an example:
          PHP Code:
          <?php
          set_time_limit
          (0);ini_set('display_errors',true);

          $fp fopen (dirname(__FILE__) . '/myfile.zip''w+');

          $ch curl_init('http://www.your-site.com/myfile.zip');//edit this line

          curl_setopt($chCURLOPT_TIMEOUT50);

          curl_setopt($chCURLOPT_FILE$fp);

          curl_setopt($chCURLOPT_FOLLOWLOCATIONtrue);

          curl_exec($ch);

          curl_close($ch);

          fclose($fp);?>
          Best Regards
          Hiram BQ

          Comment


          • #6
            Originally posted by aducom View Post
            After the initial upload I only upload changed files.
            ... unless the SC library files change
            The GuiGuy
            ... from Down Under

            Comment

            Working...
            X