Development Environment
How to install
- Check out the 'RedpinCore' and 'RedpinServer' project from the Redpin sourceforge site into your Eclipse workspace.
- Launch 'RedpinStandaloneServer'.
- Optional: Import some maps
How to build
- Build Redpin with the supplied ant script and run it using the scripts in the RedpinServer/scripts directory.
Production Environment
How to install
- Download the redpin.jar file or build redpin on your own (see How to build).
- Recommended: Install MySQL
- Recommended: Install LIBSVM
- Launch the server from command line using
java -jar redpin.jar [port]
or use the supplied scripts in the RedpinServer/scripts directory. - Optional: Import some maps
How to use MySQL
- Install MySQL Community Server
- Run the 'redpin_mysql.sql' script from the src/resource directory within the RedpinServer project to configure the database.
- Set the database access credentials by setting the 'db.type' and 'db.location' in the file 'redpin.properties':
db.type=mysql
db.location=//localhost:3306/dbname?user=username&password=pwd
How to use the Locator
- For better performance, install LIBSVM
- Configure the svm.libdir to point to your installation path in the file 'redpin.properties':
svm.libdir = libsvm-2.9
- Optional: Configure the training rate of the svm locator to fit your needs, e.g. train every 10 minutes:
svm.trainrate = 10
Import maps
- Save map image as png, gif or jpg.
- Upload image file to your web-server.
- Use netcat or telnet to send the following request to your server:
{"action":"setMap","data":{"mapName":"YOUR MAP NAME","mapURL":"http://your-url.org/..."}}
Interface Specification
The interface specification of the redpin standalone client can be found here