Server application for iBeacon management.
You need to have MySQL running, with an empty database. The server will set the database tables up itself. To point the server to the correct database, you have to fill the correct values (like the database credentials, IP address, etc.) in the property file called
db.properties and put it to the root of the repository.
db.properties file is provided in the Docker folder.
To test the server by running it, execute
./gradlew tomcatRunWar for *nix, or
gradlew.bat tomcatRunWar for Windows.
./gradlew war (or
gradlew.bat war for Windows), you can create a WAR file of the server, which you can deploy to a Tomcat instance. The WAR file will be inside
iBeacon Docker container
To use iBeacon server inside a Docker container:
Take the files in the Docker folder, put them inside a seperate folder. For example:
ibeaconserver \ |-- db.properties |-- deploy.sh |-- Dockerfile |-- server.xml |-- setenv.sh |-- web.xml
Fill the database server information in the
deploy.shscript, which will create the necessary folders and the keystore used by the Tomcat instance inside the container, build the Docker container, and run it. The default settings are not really secure (like the keystore settings) but it will provide a good starting point. These settings should be changed by the administrator for proper security.