Re: confused about starting a new project
Michael Friendly <[email protected]>
| Newsgroups | gmane.comp.kde.devel.quanta.user |
|---|---|
| Message-ID | <[email protected]> |
Werner: Your comments (and those of others) were very helpful, and helped remove one layer of mist in my understanding. I'm responding mainly to leave a trail for others who have similar questions. What I did was: - Entered a current copy of the remote site as a Local project - Configured the upload profile to connect/update the remote site For testing changes, additions, etc. I now see two possible routes: (a) select 'Use prefix view' in properties, giving 'my.remote.host' as the prefix (b) just configure my apache server to recogize '/my.local.project' as the local root for this tree. In my case, I think (a) is easiest, because the site makes heavy use of an SQL database that resides on my.remote.host and the website contains a config.php file that specifies database username, password, database host, etc. Thus, to test the site on my local server, I would have to make local changes to the config info that should not be uploaded to my.remote.host. Do you agree? thanks again, -Michael Werner Joss wrote: > Am Wednesday 19 August 2009 16:34:48 schrieb Michael Friendly: >> I'm new to Quanta+ and am trying to figure out how to use it to manage, >> edit, and test a web site created for me on a remote host on my local >> development machine, also a server. The site uses PHP almost entirely >> and is backed by an SQL database. >> >> I made a local copy of the remote site file tree, and am confused about >> how to set this up as a Quanta project. Should I use the Local protocol >> with the Main directory on my local machine or sftp protocol, with the >> Main directory on the remote site? >> >> If the former (Local), I assume I will need to configure my local >> (apache) server to recognize this file tree. > > correct. > if you have already a local web/database server running, this is the > recommended setup. > you'll have the chance to thoroughly test everything before transferring > changes to the live installation. > additionally, you always have an automatic backup all the time :) > just configure the upload profile in quanta correctly and you can sync the > remote site with just hitting 'F8' .. > >> If sftp, how do I test >> things before they go live? > > in this case, the live system is also the test candidate (not recommended) - > see above. > > HTH > > werner -- Michael Friendly Email: friendly AT yorku DOT ca Professor, Psychology Dept. York University Voice: 416 736-5115 x66249 Fax: 416 736-5814 4700 Keele Street http://www.math.yorku.ca/SCS/friendly.html Toronto, ONT M3J 1P3 CANADA