accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] keith-turner commented on a change in pull request #35: ACCUMULO-4734 Content for getting-started and basic-read-write
Date Thu, 01 Jan 1970 00:00:00 GMT
keith-turner 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_r149442075
 
 

 ##########
 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:
   > I wasn't going to mention logging since its not specific to Accumulo or needed here.
   
   I agree with this this.. nice to keep it simple and focused on Accumulo APIs.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message