I use MAMP to create a local development site and when I am ready to place it online I install the plugin Duplicator to back it up and through ftp move it online.

First you need to visit the WordPress.orgwebsite to download a copy of WordPress. After downloading the file, you need to unzip it. Next, copy the wordpress folder inside and paste it into your MAMP document root folder. You can rename this folder to anything you want (example: mysite, wpbeginner, etc). Instructor WordPress needs twodiscrete components to work.First, WordPress itself, the applications,all the files we downloaded of wordpress.org,needs to sit on a web server we can accessthrough the web browser,and that's what we've achieved so far using MAMP.Apache is the web server.Apache points at a location on my computerand in that location we've installed. This course walks through the process of installing and configuring WordPress locally on a Mac using MAMP—the open-source server/database/scripting language combo that sets the stage for more serious WordPress development. Morten Rand-Hendriksen covers configuration options to help you get started in WordPress quickly. Plus, he shows how to.
The video tutorial shows how to do these things:

Installing Wordpress On Mamp
– Download of MAMP 3.
– Renaming the existing MAMP 2 folder to MAMP-old, so that it will not be overwritten by the new installation.
– Installation of MAMP 3.
– Copying MAMP 2 – db and htdocs folder with contents over to MAMP 3 folder.
– Download of WordPress selfhosted software. Moving the unzipped folder to htdocs (document root folder) and renaming it.
– Going to the url https://localhost:8888/ which shows the htdocs root content. Selecting the new renamed WordPress folder.
– Opening a new MAMP start screen. Tools -> PHPMyAdmin to create a new database for the new installation of WordPress.
– Beginning the install of a new WordPress site. Inserting Database name – name of the database you just created, User name “root”, Password “root” and Host “localhost”.
– Finished.
If you plan on creating a WordPress Multisite through MAMP
Then you need to change the Ports numbers. As you need the URL to look like this: https://localhost/MAMP/?language=English without the :8888 Apache port number.
Stop the Servers. Open Preferences in the MAMP panel. Go to Ports.
Click the “Set Web & MySQL ports to 80 & 3306”. Click OK.
A warning message might come up:
“…. Each server must be assigned a unique port. Please check your configuration.”
Go back and change the Nginix port. I use the following:
Apache Port: 80
Nginx Port: 8888
MySQL Port: 3306
Click ok. Restart the Servers.
The root document folder url will change from localhost:8888/ to localhost without any port numbers in the URL.
Go ahead and create your WordPress site and then multisite.

NB!
If you created sites with the default port numbers (8888 and 8889) these sites will not come up because of the change. To see these sites change the port numbers back to the default. By Stopping MAMP and restarting and going to Preferences then Ports and clicking Set MAMP ports to default.
Mamp Wordpress Tutorial Download
MAMP 3 user guide:
https://www.mamp.info/en/documentation/MAMP-3-User-Guide.pdf
Another article to check out:
https://www.grafxflow.co.uk/blog/website-server/setup-localhost-subdomain-using-mamp/
