Update readme with oodt start/stop directions.
diff --git a/README.md b/README.md
index b3e2f2e..42ead85 100644
--- a/README.md
+++ b/README.md
@@ -30,18 +30,18 @@
1. Set your `$DRAT_HOME` environment variable, e.g., to `/usr/local/drat/deploy`
+2. Start Apache™ OODT:
+ `$DRAT_HOME/bin/oodt start`
+
### Automated method:
-2. Go!
+3. Go!
`cd $DRAT_HOME/bin`
`./drat go $HOME/your-repo`
- This will start up OODT, crawl the repo, index it, map it, and reduce it.
+ This will crawl the repo, index it, map it, and reduce it.
### Manual method:
If you would rather run the individual commands yourself, use the manual method:
-2. Start Apache™ OODT:
- `$DRAT_HOME/bin/oodt start`
-
3. Crawl the repository of interest, e.g., `$HOME/your-repo`:
`$DRAT_HOME/bin/drat crawl $HOME/your-repo`
@@ -103,24 +103,19 @@
You should be good to go to re-run the analysis at that point.
##If you want to analyze an entirely new code base
+ `$DRAT_HOME/bin/oodt stop`
`$DRAT_HOME/bin/drat reset`
+ `$DRAT_HOME/bin/oodt start`
**You shouldn't need to run these**, but the manual version of `reset` is:
-1. Shut down OODT with
- `cd $DRAT_HOME/bin && ./oodt stop`
-
-2. Blow away the following dirs:
+1. Blow away the following dirs:
`rm -rf $DRAT_HOME/data/workflow`
`rm -rf $DRAT_HOME/filemgr/catalog`
`rm -rf $DRAT_HOME/solr/drat/data`
-3. Blow away files in following dirs:
+2. Blow away files in following dirs:
`rm -rf $DRAT_HOME/data/archive/*`
-
-4. Restart OODT by:
- `cd $DRAT_HOME/bin && ./oodt start`
-
Useful Environment Variables
==
diff --git a/distribution/src/main/resources/bin/drat b/distribution/src/main/resources/bin/drat
index ae35e65..aa28e89 100755
--- a/distribution/src/main/resources/bin/drat
+++ b/distribution/src/main/resources/bin/drat
@@ -91,7 +91,6 @@
go)
# Add in some sleep just to give commands time to finish up. Some issues with Solr, otherwise.
check_num_args $1 $# 2
- echo
echo "Crawling $2"
crawl $2
sleep 1