Skip to content

Commit

Permalink
Fixing readme (#129)
Browse files Browse the repository at this point in the history
* added links to readme file and fixed links

* grammar in readme
  • Loading branch information
guy9 authored Apr 21, 2020
1 parent 95839d7 commit 0464f54
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 17 deletions.
7 changes: 3 additions & 4 deletions mms/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
## Scylla in Docker for the Mutant Monitoring University Course
## Scylla in Docker for the [Mutant Monitoring University Course](https://university.scylladb.com/courses/the-mutant-monitoring-system-training-course/)

### Instructions for setting up a Scylla Cluster from this repo. For more details check out the [Using Scylla Drivers](https://university.scylladb.com/courses/using-scylla-drivers/) and [Mutant Monitoring System](https://university.scylladb.com/courses/the-mutant-monitoring-system-training-course/
) courses in Scylla University.
### Instructions for setting up a Scylla Cluster from this repo. For more details check out the [Using Scylla Drivers](https://university.scylladb.com/courses/using-scylla-drivers/) and [Mutant Monitoring System](https://university.scylladb.com/courses/the-mutant-monitoring-system-training-course/) courses in Scylla University.

```
cd mms
Expand All @@ -22,7 +21,7 @@ or
> cqlsh
```

### TO manually add the tracking keyspace and data
### To manually add the tracking keyspace and data
docker exec -it mms_scylla-node1_1 cqlsh
CREATE KEYSPACE tracking WITH REPLICATION = { 'class' : 'NetworkTopologyStrategy','DC1' : 3};
use tracking;
Expand Down
4 changes: 2 additions & 2 deletions mms/go/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Scylla in Docker for the Mutant Monitoring University Course - Go Lessons 1 2 and 3
## Scylla in Docker for the [Mutant Monitoring University Course](https://university.scylladb.com/courses/the-mutant-monitoring-system-training-course/) - Go Lessons 1 2 and 3

### Instructions for setting up a Scylla Cluster from this repo, prerequisites are a running 3 node cluster with the catalog/tracking keyspaces and tables. More info in the Scylla University course [Using Scylla Drivers](https://university.scylladb.com/courses/using-scylla-drivers/).

Expand All @@ -10,7 +10,7 @@ docker exec -it some-go-app sh
./goapp
```

### TO manually add the catalog keyspace and data
### To manually add the catalog keyspace and data
docker exec -it mms_scylla-node1_1 cqlsh
CREATE KEYSPACE catalog WITH REPLICATION = { 'class' : 'NetworkTopologyStrategy','DC1' : 3};
use catalog;
Expand Down
4 changes: 2 additions & 2 deletions mms/java/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Scylla in Docker for the Mutant Monitoring University Course - Java Lessons 1 2 and 3
## Scylla in Docker for the [Mutant Monitoring University Course](https://university.scylladb.com/courses/the-mutant-monitoring-system-training-course/) - Java Lessons 1 2 and 3

### Instructions for setting up a Scylla Cluster from this repo, prerequisites are a running 3 node cluster with the catalog/tracking keyspaces and tables. More info in the Scylla University course [Using Scylla Drivers](https://university.scylladb.com/courses/using-scylla-drivers/).

Expand All @@ -11,7 +11,7 @@ cd <dir-name>/dist
java -jar <AppName>.jar
```

### TO manually add the catalog keyspace and data
### To manually add the catalog keyspace and data
docker exec -it mms_scylla-node1_1 cqlsh
CREATE KEYSPACE catalog WITH REPLICATION = { 'class' : 'NetworkTopologyStrategy','DC1' : 3};
use catalog;
Expand Down
16 changes: 11 additions & 5 deletions mms/nodejs/README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
## Scylla in Docker for the Mutant Monitoring University Course - Node.js Lesson 1
## Scylla in Docker for the [Mutant Monitoring University Course](https://university.scylladb.com/courses/the-mutant-monitoring-system-training-course/) - Node.js

### Instructions for setting up a Scylla Cluster from this repo, prerequisites are a running 3 node cluster with the catalog/tracking keyspaces and tables. More info in the Scylla University course [Using Scylla Drivers](https://university.scylladb.com/courses/using-scylla-drivers/).
### Instructions for setting up a Scylla Cluster
Prerequisites are a running 3 node cluster with the catalog/tracking keyspaces and tables. More info in the Scylla University course [Using Scylla Drivers](https://university.scylladb.com/courses/using-scylla-drivers/).

```
```shell script
cd mms/nodejs/
docker build -t nodejs-app .
docker run -d --net=mms_web --name some-nodejs-app nodejs-app
```
###to view the output of the python application check the logs using: docker logs some-nodejs-app

### TO manually add the catalog keyspace and data
To view the output of the python application check the logs using:

```shell script
docker logs some-nodejs-app
```

### To manually add the catalog keyspace and data
docker exec -it mms_scylla-node1_1 cqlsh
CREATE KEYSPACE catalog WITH REPLICATION = { 'class' : 'NetworkTopologyStrategy','DC1' : 3};
use catalog;
Expand Down
10 changes: 6 additions & 4 deletions mms/python/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## Scylla in Docker for the Mutant Monitoring University Course - Python Lesson 1
## Scylla in Docker for the [Mutant Monitoring University Course](https://university.scylladb.com/courses/the-mutant-monitoring-system-training-course/) - Python Lesson 1

### Instructions for setting up a Scylla Cluster from this repo, prerequisites are a running 3 node cluster with the catalog/tracking keyspaces and tables. More info in the Scylla University course [Using Scylla Drivers](https://university.scylladb.com/courses/using-scylla-drivers/).
### Instructions for setting up a Scylla Cluster

Prerequisites are a running 3 node cluster with the catalog/tracking keyspaces and tables. More info in the Scylla University course [Using Scylla Drivers](https://university.scylladb.com/courses/using-scylla-drivers/).

```shell script
cd mms/python/
Expand All @@ -9,12 +11,12 @@ docker run -d --net=mms_web --name some-python-app python-app [APP_NAME]
# APP_NAME can be app.py, prepared_statement_app.py or python_data_types.py
```

### To view the output of the python application check the logs using:
To view the output of the python application Check the logs using:
```shell script
docker logs some-python-app
```

### TO manually add the catalog keyspace and data
### To manually add the catalog keyspace and data
docker exec -it mms_scylla-node1_1 cqlsh
CREATE KEYSPACE catalog WITH REPLICATION = { 'class' : 'NetworkTopologyStrategy','DC1' : 3};
use catalog;
Expand Down

0 comments on commit 0464f54

Please sign in to comment.