AlexanderApostolov Posted May 24, 2018 Report Share Posted May 24, 2018 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 Quote Link to comment Share on other sites More sharing options...
administrator Posted May 24, 2018 Report Share Posted May 24, 2018 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. Quote Link to comment Share on other sites More sharing options...
AlexanderApostolov Posted May 24, 2018 Author Report Share Posted May 24, 2018 Stefan, do you have a video for setting up the computer for professional jobs later on, or one that you can recommend? Quote Link to comment Share on other sites More sharing options...
administrator Posted January 25, 2019 Report Share Posted January 25, 2019 Wow. Sorry I missed this. I have nothing specific because there are many ways to do this. Every company will have their preferred methods depending on how they manage code. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.