Project

General

Profile

Start Here » History » Version 2

Version 1 (Luke Murphey, 03/05/2017 03:56 AM) → Version 2/6 (Luke Murphey, 03/05/2017 05:59 AM)

h1. Start Here

h2. Why should I use this build script?

This build script will make developing and deploying Splunk apps easier by:

* *Creating installable Splunk packages* (from a directory with the source code)
* *Providing a simple method to deploy the changes to an app to a Splunk instance in seconds*; this is useful during development since it will tell the Splunk instance to refresh so that your new content can be tested in real-time
* *Providing mechanisms for deploying Splunk apps to a production box*. This allows you to install the app remotely and restart the Splunk install accordingly using a Continuous Deployment system.
* *Improving the performance of apps* with Javascript views by minifying the CSS and JS files

h2. Requirements

This build script is based around git (e.g. Github, Gitlab, Atlassian Bitbucket). Thus, you will need to customize it if you want to use another type of source code repository.

h2. How do I use it?

h3. Install Java and Ant

Install Java if you don't have it installed. There is a good chance you already have it so you may want to check.

Next, install Ant

h3. Download the build script

h3. Create a project

h3. Put in your source code, build your app

h3. Configure the

h2. Contents

{{child_pages}}