Angular CLI – Local Branch Compiling for Mac Users

postare 11

Local Branch Compiling

  1. First, the project needs to be cloned locally. For this, use the “git clone” command in the terminal and add the project link (git clone + link);
  2. After the project is cloned, access the project folder in the terminal and using the command “git checkout” + the desired branch, access the local branch;
  3. Before serving the branch you need to find the Wifi router IP address. This can be found in the System Preferences/Network/Advanced/”TCP/IP”/IPv4 Address.
  4. The project environment api needs to be changed with the fallowing api: https://IPv4 Address:4200/api (The environment api location depends on the project);
  5. Compile the branch using the fallowing command: “ng serve –host IPv4 Address –port 4200 –ssl”
  6. After the branch is compiled successfully, this branch can be accessed by any device that is connected to the same Wifi router. In the browser add the URL: https://IPv4 Address:4200/api

    Note: After entering the above URL an error “Your connection is not private” will be showing. Use the Advanced button to proceed to the entered URL.

 

Stay Updated with the Latest in QA

The world of software testing and quality assurance is ever-evolving. To stay abreast of the latest methodologies, tools, and best practices, bookmark our blog. We’re committed to providing in-depth insights, expert opinions, and trend analysis that can help you refine your software quality processes.

Visit our Blog

Delve deeper into a range of specialized services we offer, tailored to meet the diverse needs of modern businesses. As well, hear what our clients have to say about us on Clutch!

Share the Post:

More GoodReads