Skip to content

Commit

Permalink
README: describe how to display the examples in a dev environment
Browse files Browse the repository at this point in the history
The file contains instruction to
- setup the http server and
- open the related url

to have examples displayed in one's dev environment.
  • Loading branch information
Ion Alberdi committed Apr 8, 2015
1 parent e2e3b85 commit 24330d1
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions example/stocks/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
How to display the examples in your environment
-----------------------------------------------
First you need an http-server, that you can obtain with

% npm install -g http-server

Then you need to execute that server, on the directory
where you cloned angular-dc.

If you did it in /home/me/github_repos/, and thus you have
the angular-dc project in

/home/me/github_repos/angular-dc

Execute

% cd /home/me/github_repos
% http-server

Finally, you just need to open the related url, like for example
http://localhost:8080/angular-dc/example/stocks/nasdaq.html

0 comments on commit 24330d1

Please sign in to comment.