Skip to content

Commit 4967418

Browse files
committed
updating readme
1 parent 0d1f78f commit 4967418

2 files changed

Lines changed: 24 additions & 18 deletions

File tree

‎README.md‎

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
Running Instructions:
22
=====================
33
1. Download and unarchive the contents of the most recent java-koans in development from:
4-
https://github.com/matyb/java-koans/archives/master
5-
2. Open a terminal and cd to the koans directory within the directory you unarchived
6-
* koans: this directory contains the application and its lessons, it is all that is needed to advance through the koans themselves.
7-
* koans-lib: the directory for the koans the application
8-
* koans-tests is the directory for tests to check the sanity of the application
9-
3. Run run.bat or run.sh (whichever is applicable for your OS)
4+
```https://github.com/matyb/java-koans/archives/master```
5+
2. Open a terminal and cd to the directory you unarchived:
6+
```cd <the directory you just unarchived>```
7+
3. Within it you'll find:
8+
* *koans*: this directory contains the application and its lessons, it is all that is needed to advance through the koans themselves and **it can be distributed independently**
9+
* *koans-lib*: the directory for source code for the engine that executes the koans
10+
* *koans-tests*: the directory for tests to check the sanity of the application
11+
4. Change directory to the koans directory: ```cd koans```
12+
5. If you are using windows enter: ```run.bat``` or ```sh run.sh``` if you are using Mac or Linux.
1013

1114
Developing a Koan:
1215
==================
13-
1. Follow any of the existing koans as an example to create a new class w/ koan methods (indicated by the @Koan annotation)
14-
2. Define the order and metadata associated with each koan in the PathToEnlightment.xml
15-
3. If necessary - use dynamic content in your lesson, examples are located in XmlVariableInjector class (and Test) and the AboutKoans.java file
16+
1. Follow any of the existing koans as an example to create a new class with koan methods (indicated by the @Koan annotation, they're public and specify no arguments)
17+
2. Define the order the koan suite (if it's new) will run in the koans/config/PathToEnlightenment.xml file
18+
3. Optionally you may use dynamic content in your lesson, examples are located in the XmlVariableInjector class (and Test) and the AboutKoans.java file

‎koans/README.md‎

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
Running Instructions:
22
=====================
33
1. Download and unarchive the contents of the most recent java-koans in development from:
4-
https://github.com/matyb/java-koans/archives/master
5-
2. Open a terminal and cd to the koans directory within the directory you unarchived
6-
* koans: this directory contains the application and its lessons, it is all that is needed to advance through the koans themselves.
7-
* koans-lib: the directory for the koans the application
8-
* koans-tests is the directory for tests to check the sanity of the application
9-
3. Run run.bat or run.sh (whichever is applicable for your OS)
4+
```https://github.com/matyb/java-koans/archives/master```
5+
2. Open a terminal and cd to the directory you unarchived:
6+
```cd <the directory you just unarchived>```
7+
3. Within it you'll find:
8+
* *koans*: this directory contains the application and its lessons, it is all that is needed to advance through the koans themselves and **it can be distributed independently**
9+
* *koans-lib*: the directory for source code for the engine that executes the koans
10+
* *koans-tests*: the directory for tests to check the sanity of the application
11+
4. Change directory to the koans directory: ```cd koans```
12+
5. If you are using windows enter: ```run.bat``` or ```sh run.sh``` if you are using Mac or Linux.
1013

1114
Developing a Koan:
1215
==================
13-
1. Follow any of the existing koans as an example to create a new class w/ koan methods (indicated by the @Koan annotation)
14-
2. Define the order and metadata associated with each koan in the PathToEnlightment.xml
15-
3. If necessary - use dynamic content in your lesson, examples are located in XmlVariableInjector class (and Test) and the AboutKoans.java file
16+
1. Follow any of the existing koans as an example to create a new class with koan methods (indicated by the @Koan annotation, they're public and specify no arguments)
17+
2. Define the order the koan suite (if it's new) will run in the koans/config/PathToEnlightenment.xml file
18+
3. Optionally you may use dynamic content in your lesson, examples are located in the XmlVariableInjector class (and Test) and the AboutKoans.java file

0 commit comments

Comments
 (0)