Created
June 23, 2016 11:44
-
-
Save katmutua/d6294b770f3007cf67ff859c140ae36f to your computer and use it in GitHub Desktop.
Run Angular Docs Locally
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Download the zipped version of the Angular.JS Build, which contains both the builds of AngularJS, as well as documentation and other extras. | |
| Unzip the Angular.JS docs folder. | |
| Download and install Node.JS. | |
| Using Mac Terminal, install the npm package http-server globally so that it can be run from the command line. | |
| $ sudo npm install -g http-server | |
| cd to the Angular.JS docs folder and start-up http-server. | |
| $ http-server -a 127.0.0.1 | |
| Starting up http-server, serving ./ on: http://127.0.0.1:8080 | |
| Use your browser to view the docs @ http://127.0.0.1:8080/index-production.html | |
| Note: Using the default served by http-server (http://0.0.0.0:8080) and http://0.0.0.0:8080/index-production.html in Chrome will end up in a google search. Alternatively you can create a bookmark and Chrome will stop searching for it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment