BBEdit has function to add your own script (support many languages) and add
to the menu.

On Sat, Jul 21, 2018, 11:33 AM Michael Mak <[email protected]> wrote:

> Why not run on Mac's own apache server? You can write applescript to call
> Safari or Chrome to refresh the page.
>
> On Sat, Jul 21, 2018, 11:21 AM Jean-Christophe Helary <
> [email protected]> wrote:
>
>>
>>
>> On Jul 21, 2018, at 0:06, bruce linde <[email protected]> wrote:
>>
>> mamp, git, vagrant.
>>
>> i’ve been using mamp forever but my partner pushed me to try vagrant...
>> i’m now running both.
>>
>>
>> I'm checking Vagrant and I'm not sure how I could use that for Web/PHP
>> development. Could you develop on that ?
>>
>> Jean-Christophe
>>
>>
>> On Jul 20, 2018, at 6:11 AM, Jean-Christophe Helary <[email protected]>
>> 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 @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.
>>
>

-- 
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.

Reply via email to