CodeIgniter Forums
CI4 in shared hosting - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30)
+--- Thread: CI4 in shared hosting (/showthread.php?tid=75689)



CI4 in shared hosting - seunex - 03-05-2020

I have finished Developments how can I upload the project to shared without stress and erros


RE: CI4 in shared hosting - John_Betong - 03-05-2020

This thread may be useful:

https://forum.codeigniter.com/thread-75648-post-372771.html#pid372771


RE: CI4 in shared hosting - seunex - 03-05-2020

(03-05-2020, 11:13 PM)John_Betong Wrote: This thread may be useful:

https://forum.codeigniter.com/thread-75648-post-372771.html#pid372771
Thank you!


RE: CI4 in shared hosting - InsiteFX - 03-06-2020

You can ftp all the folders and files to your site if you have ftp access, that's how I do mine.


RE: CI4 in shared hosting - John_Betong - 03-06-2020

I use RSYNC to upload source files because it not only uploads only modified files but also compresses before uploading.

Once setup a single command only takes a couple of seconds to update changes, far easier than FileZilla.

I am not familiar with FTP.


RE: CI4 in shared hosting - seunex - 03-06-2020

An inthia discussion we not talking about upload we are talking about accessing the index file in public without need to put /public in the url.

This first reply solve the issue.


RE: CI4 in shared hosting - John_Betong - 03-08-2020

@seunex,
> ...we not talking about upload we are talking about accessing the index file in public without need to put /public in the url.

Your original post had no mention of index.php?
> I have finished Developments how can I upload the project to shared without stress and erros

As mentioned to upload a completed project requires the following RSYNC command prompt string:

Code:
rsync -avz /var/www/example.com/public_html/ -e ssh [email protected]:/home/example.com/public_html/

Every file date and timestamp is checked and only modified files are zipped, uploaded and extracted to the online web host. Usually takes a couple of seconds to synchronize a project.

How do you synchronize your projects, how long does it take and do you ever fail to upload every modified file?