Jump to content
Stef's Coding Community

Using Git with MAMP, XAMPP etc.


Recommended Posts

I'm new to PHPland, but not to Git. I use version control all the time with my NodeJS/React apps, but I'm thrown off a bit with having to use a dedicated folder inside MAMP to run my PHP site during the CRUD Basics with MySQLi & PHP course. The way I'm used to doing things is I have a large GitHub folder with all my projects inside of it, and I would just `cd` into the project folder with my terminal and run a localhost server with a script.

Is MAMP just a GUI tool for noobs who avoid the terminal? What are the best practices here? Do I `git init` inside the MAMP/htdocs directory or better yet, inside MAMP/htdocs/projectFolder ? Or do I change MAMP's default location for htdocs with each new project?

 

Thanks,

 

Alex

Link to post
Share on other sites
12 hours ago, AlexanderApostolov said:

Is MAMP just a GUI tool for noobs who avoid the terminal?

Yep.

Use whatever you are most comfortable with. You don't have to use MAMP, we just demod with it, to keep it simple. One thing at a time. But if you know Git .. use it. 

Link to post
Share on other sites
  • 8 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...