davidfoerster / KaleidOK-examples

KaleidOk invites participants to use a new kind of interactive media tool and take part in an emerging experience which explores speech recognition, media retrieval and visuals generating in a collaborative context (between people, and between people and machines).
http://www.kaleidok.co/
5 stars 0 forks source link

Create stand-alone application packages of KaleidOK #56

Closed davidfoerster closed 7 years ago

davidfoerster commented 7 years ago

Implemented in a65a215469589d96ea58ec15a4aba8b4f3774f5a 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.