Skip to content

Commit 02b32d3

Browse files
committed
Merge branch 'master' of github.com:johnpapa/ng-demos
# Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
2 parents 33f8b9b + 44a7346 commit 02b32d3

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

zza-node-mongo/readme.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,24 @@ The "Zza Node Mongo" sample app is a single page application (SPA) built with Br
1010

1111
### Extract the database
1212

13-
Extract the Zza application's MongoDB database in *zza-mongo-database.zip* to your MongoDB data directory.
13+
The *zza-mongo-database.zip* file is the Zza application's MongoDB database. Extract it into the *db* folder.
1414

15-
>The default location per MongoDB installation instructions is *C:\data*. Your location may be different.
15+
You should see three new files in the *db* folder: "zza.0", "zza.1", and "zza.ns"
1616

17-
You only have to install this database once.
17+
You only have to do this once.
1818

1919
### Install dependent node modules
2020

21-
1. Open a command prompt window.
21+
1. Open a command/terminal window.
2222

23-
2. Navigate to the *Zza-Node-Mongo* directory.
23+
1. Navigate to the *Zza-Node-Mongo* directory.
2424

25-
3. Use npm to install the following three modules:
25+
1. Use npm to install the dependent packages enumerated in the *package.json* file:
2626

27+
npm install
2728

28-
npm install mongodb
29-
npm install express
30-
npm install breeze-mongodb
3129

32-
Confirm that all of them ran without error (warnings are ok). You can close this window when you're done.
30+
1. Confirm that all of them ran without error (warnings are ok). You can close this window when you're done.
3331

3432
You only install these modules once.
3533

@@ -38,28 +36,30 @@ You only install these modules once.
3836

3937
1. Open a new command prompt window.
4038

41-
2. Navigate to the *mongodb/bin* directory.
39+
1. Start MongoDB by typing
4240

43-
>The default location per MongoDB installation instructions is *C:\mongodb\bin*. Your location may be different.
41+
mongod --dbpath db
4442

45-
3. Type **mongod** to start MongoDB.
43+
This launches the MongoDb server pointing to the folder with the zza database (see db installation above).
4644

4745
>Do not close this window. Closing the window will end the MongoDB process.
4846

49-
4. Open a new command prompt window.
47+
1. Open a new command/terminal window.
5048

51-
5. Navigate to the *Zza-Node-Mongo* directory.
49+
1. Navigate to the *Zza-Node-Mongo* directory.
5250

53-
6. Type **node server** to start the Node.js/Express server.
54-
7.
55-
>Do not close this window. Closing the window will end the Express process.
51+
1. Start the app's node/express server by typing
52+
53+
node server
54+
55+
>Do not close this window. Closing the window will end the node/express process.
5656

5757
### Run Zza
5858

59-
Open **localhost:3000** in a web browser to run the Zza application.
59+
Open [**localhost:3000**](http://localhost:3000) in a web browser to run the Zza application.
6060

6161
## Release 0.8.0
6262
* Initial release.
63-
* Demonstrates fundamental characteristics of a MongoDB app.
63+
* Demonstrates fundamental characteristics of a MongoDB app accessed with Breeze.
6464
* Maintainable w/o any Microsoft assets at all, neither code nor development tools.
65-
* Demonstrates more sophisticated user interaction paradigms than other Breeze samples. (It actually looks like a SPA.)
65+

0 commit comments

Comments
 (0)