davidfoerster/KaleidOK-examples

Create stand-alone application packages of KaleidOK

Closed this issue · 1 comments

Create stand-alone application packages of KaleidOK

Implemented in a65a215 and merged into master-next.

@Disastergirl – To create a bundle that includes API keys:

  1. Pull in changes for javaFlacEncoder, TarsosDSP, and Synesketch.

  2. Create a file Kaleidoscope/secrets.properties and put the API keys in there like in the following example:

    com.flickr.api.key=e0b92403f258c35c6b43d2e21c640f9f:bd7a0f0bcc5dfc25
    com.google.developer.api.key=KZzqh52WCK3qI8VJuTc3HDeZh9wrd7Yk6SbgA9m
    

    Don't use your own API keys! Generate a second key for your existing account that you use only for redistribution so we can track how often they are used and revoke them more easily in case of abuse! The file won't appear in source control but the API keys will be embedded inside the bundled package for anybody to see who looks for them.

  3. Then you run the Maven task package on the Maven artefact co.kaleidok:kaleidok-bundle. In IntelliJ you can to that via View → Tool Windows → Maven Projects → kaleidok → Lifecycle → package → right-click → Run; on the command line it's mvn package. The bundled package will appear as bundle/target/KaleidOk-1.0-SNAPSHOT.zip.