> Hope this helps. It sure does :) Thank you Greg !
JC > On Jul 20, 2018, at 22:34, Greg Raven <[email protected]> wrote: > > When you have your project open in BBEdit, in the bottom left corner of the > window, along the bottom, there are five icons. The "raining cloud" icon is > the one you want. Click on it and select "Site Settings …" at the top of the > pop-up list. Enable the "Use local preview server" option and fill in the URL > of your local instance (such as "http://wp-php-project.local"). > > I'm guessing that you have only the wp-content folder (or some sub-folder of > wp-content) in your project. Otherwise, it gets messy. > > For those without MAMP, Local by Flywheel is an excellent alternative for > local WordPress development. > > Hope this helps. > > On Friday, July 20, 2018 at 6:11:30 AM UTC-7, Jean-Christophe Helary wrote: > > >> On Jul 20, 2018, at 22:00, Greg Raven <[email protected] <>> wrote: >> >> The best way I have found to do this is to have your PHP files in a BBEdit >> project, > > I've created a project for my files (I find projects hard to navigate, namely > no apparent way to move around without having to use the mouse, but maybe I'm > missing something). Basically a bunch of WP files. > >> and then set the project settings to open a local website. > > Can you be more specific ? > >> To have a local website, you can use any of a number of methods, including >> MAMP, HostBuddy, VirtualHostX, VirtualBox, etc., > > I'm using MAMP. I have the test site and the "production" site side by side, > both managed under git and I'll be setting up sync to make sure I have > everything under control. Then I need to find a way to sync to the ftp server > (I don't have a clear idea how to do that but I'll get there eventually...) > > Jean-Christophe > >> or you can set up your local Apache server to serve your site locally with >> PHP. I just use the built-in Apache with modifications to the httpd.conf, >> hosts, and vhosts files. There are a couple of fiddly bits involved when >> doing it this way, but you don't have to download and maintain anything and >> it works just fine. >> >> On Thursday, July 19, 2018 at 9:13:42 PM UTC-7, Jean-Christophe Helary wrote: >> >> >>> On Jul 20, 2018, at 10:04, Scott in Pollock <[email protected] <>> wrote: >>> >>> You'll need a local server running PHP. Google 'MAMP'. >> >> Sorry if that was not clear. I do have everything set up already. >> >> I just need BBedit to "preview" my files not by calling file://... but by >> calling http/localhost/... >> >> What's happening now is that I edit/save PHP on BBedit and the switch to >> Safari and reload. That's not practical. Is there a way to do call that >> preview from BBedit directly ? >> >> >> Jean-Christophe Helary >> ----------------------------------------------- >> http://mac4translators.blogspot.com <http://mac4translators.blogspot.com/> >> @brandelune >> >> >> >> -- >> This is the BBEdit Talk public discussion group. If you have a >> feature request or would like to report a problem, please email >> "[email protected] <>" rather than posting to the group. >> Follow @bbedit on Twitter: <http://www.twitter.com/bbedit >> <http://www.twitter.com/bbedit>> >> --- >> You received this message because you are subscribed to the Google Groups >> "BBEdit Talk" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <>. >> To post to this group, send email to [email protected] <>. >> Visit this group at https://groups.google.com/group/bbedit >> <https://groups.google.com/group/bbedit>. > > Jean-Christophe Helary > ----------------------------------------------- > http://mac4translators.blogspot.com <http://mac4translators.blogspot.com/> > @brandelune > > > > -- > This is the BBEdit Talk public discussion group. If you have a > feature request or would like to report a problem, please email > "[email protected]" rather than posting to the group. > Follow @bbedit on Twitter: <http://www.twitter.com/bbedit > <http://www.twitter.com/bbedit>> > --- > You received this message because you are subscribed to the Google Groups > "BBEdit Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/bbedit > <https://groups.google.com/group/bbedit>. Jean-Christophe Helary ----------------------------------------------- http://mac4translators.blogspot.com @brandelune -- This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/bbedit.
