@@ -20,6 +20,7 @@ videos on [coursera](http://coursera.org).
20
20
(it will error out ridiculously with an ` IndexMissingException ` from
21
21
elasticsearch if you don't do this!);
22
22
23
+
23
24
### Testing dockerized cloujera inside Vagrant VM
24
25
25
26
``` bash
@@ -55,7 +56,7 @@ To scrape another course, you need to:
55
56
56
57
0 . Visit the cloujera session API
57
58
` https://api.coursera.org/api/catalog.v1/sessions ` and choose a course
58
- 1 . Sign up for the course and agree to honor code ** manually** for the
59
+ 1 . Sign up for the course and agree to honour code ** manually** for the
59
60
60
61
3 . Find the video lecture URL (` videoLecturesURL ` )
61
62
2 . Perform an http ` POST http://cloujera.whatever/burglar/raid ` with this
@@ -73,6 +74,7 @@ To scrape another course, you need to:
73
74
## Deployment
74
75
75
76
### Provisioning (The first time)
77
+
76
78
``` bash
77
79
$ ssh user@cloudmachine
78
80
$ git clone https://github.com/vise890/cloujera
@@ -81,7 +83,7 @@ $ sudo ./scripts/provision.sh
81
83
```
82
84
83
85
84
- ### (Re)- Deploying cloujera
86
+ ### (Re-) Deploying cloujera
85
87
86
88
``` bash
87
89
# in the cloujera directory...
@@ -110,14 +112,14 @@ $ vagrant ssh
110
112
$ sudo docker logs cloujera
111
113
```
112
114
113
- ### Checking elasticsearch health
115
+ ### Checking Elasticsearch health
114
116
115
117
Visit ` http://localhost:9200/ ` , you should see ` status: 200 `
116
118
117
119
118
- ### Checking redis Running
120
+ ### Checking if Redis is running
119
121
120
- ` redis-cli ` will drop you into a redis shell. Some useful commands are: ` INFO ` ,
122
+ ` redis-cli ` will drop you into a Redis shell. Some useful commands are: ` INFO ` ,
121
123
` MONITOR ` , ` HELP ` , ` HELP @server ` .
122
124
123
125
** NOTE** : this works form the host as well as in the Vagrant VM
0 commit comments