mikewalch commented on a change in pull request #35: ACCUMULO-4734 Content for 
getting-started and basic-read-write
URL: https://github.com/apache/accumulo-website/pull/35#discussion_r149443476
 
 

 ##########
 File path: tour/getting-started.md
 ##########
 @@ -2,4 +2,29 @@
 title: Getting Started
 ---
 
-Talk about how to get started.
+First make sure you have Java, Maven and Git installed on your machine.  Oh 
you are already rocking? OK let's go!
+
+1. Clone the tour onto your machine:
+```commandline
+git clone -b tour https://github.com/apache/accumulo-website.git tour
+cd tour
+```
+2. Open Main.java in your favorite editor.
+```commandline
+vim ./src/main/java/tour/Main.java
+```
+Notice the main method creates a MiniAccumuloCluster with a root password of 
"tourguide".  MiniAccumuloCluster is a mini
+version of Accumulo that runs on your local filesystem.  It should only be 
used for development purposes but will work
+great here on the tour.
+
+3. Modify the _exercise_ method to print a hello message. You will put your 
code in this method for each lesson.
+```java
+private static void exercise(MiniAccumuloCluster mac) {
+    // start writing your code here
+    System.out.println("Hello world");
 
 Review comment:
   A logger doesn't need to be used but I suggested it because Accumulo still 
outputs log info messages.  I think it's confusing and hard to read when log 
messages and Sys.out.println is mixed (unless you are using Sys.out.prinln to 
output data)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to