Welcome Guest, Not a member yet? Register   Sign In
Shared Hosting to VPS
#2

(This post was last modified: 05-23-2024, 09:52 AM by captain-sensible. Edit Reason: mistake )

i run apache web server on Arch linux for my CodeIgniter projects . I just use git ,via command line in location context of being web root of codeIgniter wweb site. I use shared hosting . I have capacity for a few web sites . I get a domain from ionos, and use add on domain , manage domain . Fo all intents and purposes you wouldnt know cicking on domain that its via a add on domain.

For a new website to load up from dev, i use rsync along the lines of ;
Code:
from terminal CD to document route of web
prompt$ cd /srv/http/myweb
(inside http  i have CI4 dev directory called say "myweb" )


prompt$ git commit -a -m "ready for live"
prompt git tag -a v5.5 -m " "
prompt$    cd ../
(back to /srv/http)
rsync -avu      --exclude  .git --exclude node_modules   myweb/         /home/andrew/Desktop/arbitaryDirName/



So i use rsync to start taking things out i dont want to upload.Then there (the way i do it) are only 4 directories i need , which i zip and upload to server. Thats app, public, vendor ,writable and .env
So i do use version control , but i like to do manually. Once i have web up and working, i just over write single files, i know changed
CMS CI4 A CMS system, runs out of the box written on top of CI4
Arch Book  CodeIgniter4 on Apache(pages 92-114) 
Reply


Messages In This Thread
Shared Hosting to VPS - by HarmW94 - 05-23-2024, 09:27 AM
RE: Shared Hosting to VPS - by captain-sensible - 05-23-2024, 09:46 AM
RE: Shared Hosting to VPS - by HarmW94 - 05-23-2024, 10:46 AM
RE: Shared Hosting to VPS - by kenjis - 05-23-2024, 02:37 PM
RE: Shared Hosting to VPS - by HarmW94 - 05-24-2024, 04:31 AM
RE: Shared Hosting to VPS - by kenjis - 05-24-2024, 07:57 PM
RE: Shared Hosting to VPS - by HarmW94 - 05-25-2024, 04:17 PM
RE: Shared Hosting to VPS - by JustJohnQ - 05-25-2024, 10:33 PM
RE: Shared Hosting to VPS - by HarmW94 - 05-25-2024, 10:53 PM
RE: Shared Hosting to VPS - by HarmW94 - 05-29-2024, 07:14 AM
RE: Shared Hosting to VPS - by HarmW94 - 05-30-2024, 03:32 AM
RE: Shared Hosting to VPS - by kenjis - 05-30-2024, 04:24 AM
RE: Shared Hosting to VPS - by HarmW94 - 05-30-2024, 05:44 AM
RE: Shared Hosting to VPS - by kenjis - 05-30-2024, 05:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB