Sebastian Bub avatar Sebastian Bub committed d2454f0

minor bugfixing

Comments (0)

Files changed (2)

 * You can set a simulation mode for testing your client.
 * Setting multiple ports in one requests are set one after another (but the code
   is optimized that nothing unnecessary is done in between)
-* cronjob configuration for output ports (http://quartz-scheduler.org/documentation/quartz-2.1.x/tutorials/crontrigger)
+* Cronjob configuration for output ports (http://quartz-scheduler.org/documentation/quartz-2.1.x/tutorials/crontrigger)
 
 ### Planned Features
 
 
 ## Getting Started
 
-1. Install Java, e.g.
-sudo apt-get install openjdk-6-jdk
+1. Install Java, e.g. **sudo apt-get install openjdk-6-jdk**
 
-2. Check that you can call java from the command line, e.g.
-~$ java -version
-java version "1.6.0_18"
-OpenJDK Runtime Environment (IcedTea6 1.8.13) (6b18-1.8.13-0+squeeze1)
-OpenJDK Zero VM (build 14.0-b16, mixed mode)
+2. Check that you can call java from the command line, e.g.  java -version
 
-3. Install Maven2
-sudo apt-get install maven2
+3. Install Maven2 **sudo apt-get install maven2**
 
-4. Install Mercurial 
-sudo apt-get install mercurial
+4. Install Mercurial **sudo apt-get install mercurial**
 
-5. Get the project
-hg clone https://bitbucket.org/sbub/rpi-gpio-webapp
+5. Get the project **hg clone https://bitbucket.org/sbub/rpi-gpio-webapp**
 
-6. Get Winstone Servlet Engine: http://winstone.sourceforge.net/
-put the jar in the same directory as the start.sh
+6. **Get Winstone** Servlet Engine: http://winstone.sourceforge.net/ and put the jar in the same directory as the start.sh
 
-7. Build the project
-mvn package
-(First build toke me about 4:30 min on raspi (with downloads), second took 3:30min)
+7. Build the project **mvn package** (It takes 3-7 minutes to build on RaspBerry)
 
 8. Check the location and name of WINSTONE_JAR in start.sh
 
 11. Make a request, e.g. http://raspberrypi:8080/handle?g0=1&g1=0
     It will return {"g1":0,"g0":1} (and you may check the log).
 
-12. To enable cronjobs, you need to copy cron.conf.MAY_BE_CHANGED** to cron.conf and configure it
+12. To enable cronjobs, you need to copy cron.conf.MAY_BE_CHANGED to cron.conf and configure it
 
 
 ## Configuration and Logging and Debugging

cron.conf.MAY_BE_CHANGED

 # limitations under the License.
 #
 #
-# see http://quartz-scheduler.org/documentation/quartz-2.1.x/tutorials/crontrigger this is crontab like (but with seconds)
-# use double colons to split between schedule and command (GET parameter syntax)
+# - see http://quartz-scheduler.org/documentation/quartz-2.1.x/tutorials/crontrigger
+# - syntax is crontab like (but with seconds)
+# - use double colons to split between schedule and command (GET parameter syntax)
+# - only use output ports (inputs are ignored)
+#
+# Samples
+#
 # Fire at 10:15am every day
 # 0 15 10 ? * *         :: g0=1&g1=0
+#
 # Fire at 10:15am every day during the year 2005
 # 0 15 10 * * ? 2005    :: g0=1
-0/20 * * ? * *             :: g0=1
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.