Commits

Sebastian Bub committed de5a980

renamed bitbucket project to raspberry-pi-gpio-web-control; changed internal refs, too

Comments (0)

Files changed (7)

 .classpath
 target/
 winstone*.jar
-logs/rpi-gpio-webapp.log*
+logs/raspberry-pi-gpio-web-control.log*
 logs/winstone.log*
 gpio.conf
 cron.conf
 ## A Java webapp to control your GPIO ports of the Raspberry Pi using http
 
 
-## What is rpi-gpio-webapp?
+## What is raspberry-pi-gpio-web-control?
 
-rpi-gpio-webapp is a lightweight java based web application to control your GPIO ports
+raspberry-pi-gpio-web-control is a lightweight java based web application to control your GPIO ports
 of your Raspberry Pi over http. It is based on documentation at 
 [elinux.org: RPi Low-level peripherals](http://elinux.org/Rpi_Low-level_peripherals#GPIO_Driving_Example_.28Shell_script.29)
 
 
 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/raspberry-pi-gpio-web-control`
 
 6. **Get [Winstone Servlet Container at http://winstone.sourceforge.net/](http://winstone.sourceforge.net/)** and put the jar in the same directory as the start.sh.
 
 * A simple init.d script is also provided in file src/main/resources/init.d/gpio-winstone which can be installed with the follwing commands:
 
 ```
-chmod a+x /home/pi/rpi-gpio-webapp/src/main/resources/init.d/gpio-winstone
-sudo cp /home/pi/rpi-gpio-webapp/src/main/resources/init.d/gpio-winstone /etc/init.d/gpio-winstone
+chmod a+x /home/pi/raspberry-pi-gpio-web-control/src/main/resources/init.d/gpio-winstone
+sudo cp /home/pi/raspberry-pi-gpio-web-control/src/main/resources/init.d/gpio-winstone /etc/init.d/gpio-winstone
 sudo update-rc.d gpio-winstone defaults 3 3
 ```
 
 # limitations under the License.
 
 
-log.dir.file=logs/rpi-gpio-webapp.log
+log.dir.file=logs/raspberry-pi-gpio-web-control.log
 
 log4j.rootLogger=WARN, A1
 
     <modelVersion>4.0.0</modelVersion>
 
     <groupId>de.derbub</groupId>
-    <artifactId>rpi-gpio-webapp</artifactId>
+    <artifactId>raspberry-pi-gpio-web-control</artifactId>
     <packaging>war</packaging>
     <version>1.0-SNAPSHOT</version>
 
-    <name>rpi-gpio-webapp</name>
+    <name>raspberry-pi-gpio-web-control</name>
     <url>http://maven.apache.org</url>
 
     <dependencies>

src/main/resources/init.d/gpio-winstone

 # limitations under the License.
 #
 #
-# Start and stop for winstone with rpi-gpio-webapp
+# Start and stop for winstone with raspberry-pi-gpio-web-control
 #
 
 case "$1" in
   start)
-    echo "Starting winstone for rpi-gpio-webapp"
-    /home/pi/rpi-gpio-webapp/start.sh &
+    echo "Starting winstone for raspberry-pi-gpio-web-control"
+    /home/pi/raspberry-pi-gpio-web-control/start.sh &
     ;;
   stop)
-    echo "Stopping winstone for rpi-gpio-webapp"
-    /home/pi/rpi-gpio-webapp/stop.sh
+    echo "Stopping winstone for raspberry-pi-gpio-web-control"
+    /home/pi/raspberry-pi-gpio-web-control/stop.sh
     ;;
   *)
     echo "Usage: /etc/init.d/gpio-winstone {start|stop}"

src/main/webapp/index.html

 <html>
     <head>
         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-        <title>rpi-gpio-webapp</title>
+        <title>raspberry-pi-gpio-web-control</title>
     </head>
     <body>
-        Read the <a href="https://bitbucket.org/sbub/rpi-gpio-webapp">README</a>
+        Read the <a href="https://bitbucket.org/sbub/raspberry-pi-gpio-web-control">README</a>
     </body>
 </html>
 WINSTONE_JAR=./winstone-0.9.10.jar
 WINSTONE_LOG=logs/winstone.log
 
-WARFILE=target/rpi-gpio-webapp-1.0-SNAPSHOT.war
+WARFILE=target/raspberry-pi-gpio-web-control-1.0-SNAPSHOT.war
 GPIO_CONFIG=gpio.conf
 CRON_CONFIG=cron.conf
 RPI_GPIO_LOG=file:`pwd`/log4j.properties
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.