Create stand-alone application packages of KaleidOK
Closed this issue · 1 comments
Implemented in a65a215 and merged into master-next
.
@Disastergirl – To create a bundle that includes API keys:
-
Pull in changes for javaFlacEncoder, TarsosDSP, and Synesketch.
-
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.
-
Then you run the Maven task
package
on the Maven artefactco.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'smvn package
. The bundled package will appear asbundle/target/KaleidOk-1.0-SNAPSHOT.zip
.