1. Install Wordpress on your local environment
- a. Tip: use Local WordPress development tool for simplicity.
- b. Follow this tutorial for instructions. This is one of best tool out there when it comes to installing WordPress on your own PC, Mac or Linux computer. It is free, easy to install and easy to configure! And yes, it is better than ServerPress. It also has more options than ServerPress. With "Local" By Flywheel it’s possible to go live from your own computer so that the app cab be shown/shared with clients and thus track the development.
-
# git clone command followed by the URL of the repository to clone the app git clone https://github.com/myhumbee/widgetwebclient.git # Git will now download the entire repository to your local machine. # If the repository is private or requires authentication, # you may be prompted to provide your credentials, such as your username and password or an access token. # Additionally, if you have SSH set up for Git, you can use the SSH URL instead of the HTTPS URL for cloning. # This can be helpful if you want to avoid entering your credentials each time. # The SSH URL follows a similar format but starts with git@ instead of https://.
- if you are using MacOS and get and error like: xcrun: error: invalid active developer path (... missing xcrun at: ..., run the following command. See this link for more information.
-
xcode-select --install
-
# then install dependencies again by npm install yarn install # finally, create an optimised production build... # This command will trigger the build process defined in the "scripts" section of your app's package.json file. # Typically, it will create an optimised and production-ready version of your React app in a build or dist folder within your app's directory. yarn build