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
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.
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
[QUOTE=GuiGuy;19751]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[/QUOTE]
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.
Hi,
You can download your ZIP to your installer server using curl php function here is an example:
<?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($ch, CURLOPT_TIMEOUT, 50);
curl_setopt($ch, CURLOPT_FILE, $fp);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_exec($ch);
curl_close($ch);
fclose($fp);?>
… unless the SC library files change