|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
confused about starting a new projectI'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. If sftp, how do I test things before they go live? Maybe there is a Quanta tutorial somewhere that covers this basic ground? thanks -Michael -- 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 _______________________________________________ Quanta mailing list Quanta@... https://mail.kde.org/mailman/listinfo/quanta |
|
|
Re: confused about starting a new projectDear Sir
This link should answer all of your questions. I am somewhat new to Quanta Plus myself, and seeing it does not have a built-in FTP, I would recommend using FileZilla (also free open source) to upload your website files to the server. All of the configuration info can also be found at this link:- http://docs.kde.org/kde3/en/kdewebdev/quanta/index.html I hope that this has been of some help to you Sir. Kind regards. Paul West Marden, Kent, England. On Wed, 2009-08-19 at 10:34 -0400, Michael Friendly wrote: > 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. If sftp, how do I test > things before they go live? > > Maybe there is a Quanta tutorial somewhere that covers this basic ground? > > thanks > -Michael > > _______________________________________________ Quanta mailing list Quanta@... https://mail.kde.org/mailman/listinfo/quanta |
|
|
Re: confused about starting a new projectAm 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 _______________________________________________ Quanta mailing list Quanta@... https://mail.kde.org/mailman/listinfo/quanta |
|
|
Re: confused about starting a new projectAm Wednesday 19 August 2009 17:22:26 schrieb Paul West:
> I am somewhat new to Quanta Plus myself, and seeing it does not have a > built-in FTP wrong. quanta has a very convenient, built-in upload/ftp manager, based on profiles. it always keeps track of local changes, so keeping everything in sync is just a breeze (F8). werner _______________________________________________ Quanta mailing list Quanta@... https://mail.kde.org/mailman/listinfo/quanta |
|
|
Re: confused about starting a new projectHello Michael,
If you want to develop your project local, just create a new project from the "Project" menu. A project-wizard will guide you through the setup.Fill out all your project specs and add the files you already copied from the remote machine. To test you project, you need to setup a webserver. Xampp webserver software delivers good value I think. From http://www.apachefriends.org Once installed Xampp, you need to place your files into /opt/lampp/htdocs/<yourproject> directory. You can view your project by typing http://localhost/<yourproject> into the browser. If you would like to develop your project on a remote site, Follow the story above. In stead of filling out "local", say "ftp" or "sftp". The wizard will let you add all files that you stored on the remote site. Regards, Kees Epema 2009/8/19 Michael Friendly <friendly@...> I'm new to Quanta+ and am trying to figure out how to use it to manage, _______________________________________________ Quanta mailing list Quanta@... https://mail.kde.org/mailman/listinfo/quanta |
|
|
Re: confused about starting a new projectWerner:
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 _______________________________________________ Quanta mailing list Quanta@... https://mail.kde.org/mailman/listinfo/quanta |
|
|
Re: confused about starting a new projectAm Thursday 20 August 2009 16:59:09 schrieb Michael Friendly:
> 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? not 100 % :) to be honest: you should use both, (a) and (b) with preview for (a) set to 'your.local.host' why ? - php is a server side scripting language, so you will have to ensure that in your test environment, the php files you are working on, are physically processed by your test server. if you work on local files and set prefix to your.remote.server, that machine will just not be able to process what you've just worked on. as for the config file, you can just exclude it from the upload/sync process if your local settings are different (which is usual). or, use a flag to switch between local/remote settings, e.g. $local=true; if ($local) { // local settings go here } else { // remote settings here } - worksforme :) werner _______________________________________________ Quanta mailing list Quanta@... https://mail.kde.org/mailman/listinfo/quanta |
| Free embeddable forum powered by Nabble | Forum Help |