Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

easy way to serve the examples #11

Open
dmh2000 opened this issue Oct 26, 2014 · 2 comments
Open

easy way to serve the examples #11

dmh2000 opened this issue Oct 26, 2014 · 2 comments

Comments

@dmh2000
Copy link

dmh2000 commented Oct 26, 2014

an easy way to get the examples running (on Linux) is:
install node.js

git clone https://github.com/shyamseshadri/angularjs-up-and-running
cd angularjs-up-and-running
npm init
(accept all defaults)
npm install --save http-server
node node_modules/http-server/bin/http-server
connect browser to localhost:8080
example directory is served

@flyte
Copy link

flyte commented Apr 3, 2015

An even easier way to get them running on Linux is:

git clone https://github.com/shyamseshadri/angularjs-up-and-running
cd angularjs-up-and-running
python -m SimpleHTTPServer

:)

@glixingxian
Copy link

the python server is very useful when testing locally! Node.js server is of course more powerful than the simple Python server. Thank you @flyte and @dmh2000 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants