| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1 @@ | |||
| 1 | + todo.js | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,22 @@ | |||
| 1 | + **Fetch dependencies:** | ||
| 2 | + ``` | ||
| 3 | + npm install | ||
| 4 | + ``` | ||
| 5 | + | ||
| 6 | + **Build and run (combines 'build' and 'run server' commands using the default port 8080)** | ||
| 7 | + ``` | ||
| 8 | + npm start | ||
| 9 | + ``` | ||
| 10 | + | ||
| 11 | + **Build** | ||
| 12 | + ``` | ||
| 13 | + node node_modules/typescript/bin/tsc.js | ||
| 14 | + ``` | ||
| 15 | + | ||
| 16 | + **Run server** | ||
| 17 | + ``` | ||
| 18 | + node node_modules/http-server/bin/http-server -p 8080 | ||
| 19 | + ``` | ||
| 20 | + | ||
| 21 | + '-p' sets the port to use, default port is 8080. If it is taken pick any port that is free. | ||
| 22 | + After server is started open 'localhost:8080' in a browser. | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments