You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NodeStackProxy/README.md
+15-2Lines changed: 15 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ The project demonstrates how you can easily build single page applications (SPA)
4
4
5
5
## Instructions
6
6
7
-
Make sure that [node.js and npm](http://nodejs.org/download/) is installed and path variables are set correctly (`Windows`: install it with `.msi`, `Linux/Mac`: http://howtonode.org/how-to-install-nodejs)
7
+
Make sure that [node.js and npm](http://nodejs.org/download/) is installed and path variables are set correctly (`Windows`: install it with `.msi`, `Linux/Mac`: use [install](https://github.com/ServiceStack/ServiceStack.UseCases/blob/master/NodeStackProxy/install) script or read [how-to-install-nodejs](http://howtonode.org/how-to-install-nodejs))
8
8
9
9
Both commands should return version:
10
10
@@ -27,9 +27,22 @@ Listening: http://*:8090/api/
27
27
Press any key to stop program
28
28
```
29
29
30
-
Then script download `node-modules` for node.js and runs the server for port: `8080`.
30
+
Then script download `node-modules` for node.js and runs the server for port: `8080`.
31
31
32
32
That's it, you can see Backbone.JS with Todo SPA application geared with ServiceStack.
33
33
34
+
NOTE: Service is actually a Windows Service. So you can also install it with:
35
+
36
+
```
37
+
installutil <Path of the Service.exe>
38
+
```
39
+
40
+
34
41
### Linux & mono
35
42
43
+
[run](https://github.com/ServiceStack/ServiceStack.UseCases/blob/master/NodeStackProxy/run) script automatically compiles Service.sln file using `xbuild`. Then it tries to shutdown the previous Service process and run it again. When service is up and running, it downloads all required `node-modules` and run node.js app server using port: `8080`.
0 commit comments