@@ -9,12 +9,12 @@ to be done better. Please use it and create Issues with your problems.
9
9
10
10
* [ Install Docker] ( https://docs.docker.com/installation/ )
11
11
* Clone this repo
12
- * Build all images with the comands like:
12
+ * Build all images with the commands like:
13
13
` cd cpan-api; docker build --tag cpan-api . `
14
14
15
15
## System architecture
16
16
17
- The system consists of serverl microservices that live in docker containes :
17
+ The system consists of several microservices that live in docker containers :
18
18
19
19
* ` cpan_volume ` — data volume container that shares directory ` /cpan ` with
20
20
all other containers
@@ -25,9 +25,9 @@ The system consists of serverl microservices that live in docker containes:
25
25
26
26
## cpan_volume
27
27
28
- Eveything starts from the volume ` /cpan ` .
28
+ Everything starts from the volume ` /cpan ` .
29
29
30
- First you need to create data volume contaner :
30
+ First you need to create data volume container :
31
31
32
32
docker run --name cpan_volume --volume=/cpan ubuntu:14.04
33
33
@@ -84,15 +84,15 @@ First you need to run container with elasticsearch:
84
84
--name elasticsearch \
85
85
elasticsearch
86
86
87
- You can check that you have elasticsearch running with the comand :
87
+ You can check that you have elasticsearch running with the command :
88
88
89
89
curl 127.0.0.1:9200
90
90
91
91
PS If you run docker on mac or windows you should change ` 127.0.0.1 ` to the ip
92
- address of our docker virtual machinge (you can find out this ip with the
92
+ address of our docker virtual machine (you can find out this ip with the
93
93
` boot2docker ip ` ).
94
94
95
- Here is the output you are expecred to see:
95
+ Here is the output you are expected to see:
96
96
97
97
{
98
98
"ok" : true,
@@ -124,7 +124,7 @@ Next you need to run cpan-api server. This can be done with the command:
124
124
cpan-api
125
125
126
126
So the server is running but you also need to run some scripts to index data.
127
- To do it you can create ineractive container:
127
+ To do it you can create interactive container:
128
128
129
129
docker run \
130
130
-it \
0 commit comments