-
Notifications
You must be signed in to change notification settings - Fork 1
/
readme.txt
executable file
·79 lines (56 loc) · 1.95 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
1) Mongo Db setup
00tournaments.json
01Beverages.json
01CricketPlayers.json
01movies.json
01OnlineRetailers.json
01policies.json
01TechStacks.json
01weekendPlans.json
02GenerateTestGames.json
03UpdateGameAttributes.js
04newGame.js
05AssignRanking.json
06ranking.json
07ModifyNoOfGames.json
in mongodb, create database
name= Hackit
collections name = testData
load("mongoScripts/updateGameAttributes.js");
updateGamesStuffs(); -- runs as a batch process effectively
2)
prerequizite Install Node.js
Raghavendras-MacBook-Air:hackathon gragtrix$ cd /Users/gragtrix/Desktop/hackathon
Raghavendras-MacBook-Air:hackathon gragtrix$ npm install
-bash: npm: command not found
Raghavendras-MacBook-Air:hackathon gragtrix$ npm install
npm WARN package.json hackathon@0.1.0 No repository field.
> bson@0.1.4 install /Users/gragtrix/Desktop/hackathon/node_modules/mongodb/node_modules/bson
> node-gyp rebuild || (exit 0)
\.............
jade@0.27.7 node_modules/jade
├── commander@0.6.1
├── mkdirp@0.3.5
└── coffee-script@1.4.0
express@3.4.4 node_modules/express
├── methods@0.1.0
├── cookie-signature@1.0.1
├── range-parser@0.0.4
├── fresh@0.2.0
├── buffer-crc32@0.2.1
├── cookie@0.1.0
├── mkdirp@0.3.5
├── debug@2.1.3 (ms@0.7.0)
├── commander@1.3.2 (keypress@0.1.0)
├── send@0.1.4 (mime@1.2.11)
└── connect@2.11.0 (methods@0.0.1, uid2@0.0.3, pause@0.0.1, raw-body@0.0.3, bytes@0.2.1, qs@0.6.5, negotiator@0.3.0, multiparty@2.2.0)
mongodb@1.1.8 node_modules/mongodb
└── bson@0.1.4
Raghavendras-MacBook-Air:hackathon gragtrix$
Raghavendras-MacBook-Air:hackathon gragtrix$
Raghavendras-MacBook-Air:hackathon gragtrix$ node app.js
connect.multipart() will be removed in connect 3.0
visit https://github.com/senchalabs/connect/wiki/Connect-3.0 for alternatives
connect.limit() will be removed in connect 3.0
Express server listening on port 4711 in development mode
Connected to 'Hackit' database