You use Vagrant to set up a development environment (in VirtualBox, for 
example). There used to be a program called Hobo that made this easier, but 
it's always seemed non-trivial to me. The benefit is that once you have a 
Vagrant process (or whatever they are called) set up, you can run it at any 
time to set up a new instance for other projects, or simply to scrap and 
reorder the one you're currently using. If you are working with a team, you 
can also share Vagrant processes so that everyone is using the same 
development environment.

For me, the game isn't worth the candle. I could have an entire website set 
up and running by the time I figured out how to get Vagrant working. Your 
mileage may vary.

On Friday, July 20, 2018 at 8:21:41 PM UTC-7, Jean-Christophe Helary wrote:
>
>
>
> On Jul 21, 2018, at 0:06, bruce linde <[email protected] <javascript:>> 
> 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] 
> <javascript:>> wrote:
>
>
> On Jul 20, 2018, at 22:00, Greg Raven <[email protected] <javascript:>> 
> 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.

Reply via email to