Codeigniter and phpstorm and github |
@richb201,
> I use phpstorm and have a need to maintain both a production site and a staging site I have tried numerous ways to maintain different application versions and currently use the following on my Ubuntu VPS: 1. have a mirror image of LOCALHOST and ONLINE application versions 2. use Command line RSYNC to update online version, which only takes seconds 3. set and test for “LOCALHOST” which is a bool constant in index.php. This constant is available throughout the project and used to maybe ”if(LOCALHOST) {“ require videos, adverts, etc 4. use GitHub Command line “Git add .”, update and Git push for backups 5. the local MySQL database is for my local testing benefit and online database dynamically updated 6. online database manually downloaded to local backups and sometimes used locally 7. I’ve setup completely separate staging sites using subdomains and also used “freenom.com” free domains. 8. The completed staging site directory is copied to a version-123 directory, etc |
Messages In This Thread |
Codeigniter and phpstorm and github - by richb201 - 10-23-2021, 09:25 AM
RE: Codeigniter and phpstorm and github - by wdeda - 10-23-2021, 02:02 PM
RE: Codeigniter and phpstorm and github - by InsiteFX - 10-24-2021, 12:20 AM
RE: Codeigniter and phpstorm and github - by richb201 - 10-24-2021, 10:23 AM
RE: Codeigniter and phpstorm and github - by wdeda - 10-24-2021, 02:26 PM
RE: Codeigniter and phpstorm and github - by richb201 - 10-24-2021, 03:17 PM
RE: Codeigniter and phpstorm and github - by John_Betong - 10-24-2021, 05:17 PM
RE: Codeigniter and phpstorm and github - by richb201 - 10-24-2021, 06:52 PM
RE: Codeigniter and phpstorm and github - by wdeda - 10-24-2021, 07:20 PM
RE: Codeigniter and phpstorm and github - by John_Betong - 10-24-2021, 07:22 PM
RE: Codeigniter and phpstorm and github - by richb201 - 10-25-2021, 03:44 AM
|