{% load splunkmvc %} Splunk Application Framework Quick Start
Next

Splunk Application Framework Quick Start

Create an app

Let's create an app. We'll use the splunkdj command-line tool from the framework's home folder to perform this and other tasks.

Create an app

To create an app, run the command splunkdj createapp app_name. The framework sets up the basic directory structure and files for your app under the $SPLUNKDJ_HOME/server/apps directory. Your new app includes URL-routing logic, basic Django templates, views, and HTML templates.

Run apps

During development, run your apps from the development server that is included with the framework. Just start the framework server from the command line (splunkdj run), then browse to http://localhost:3000/dj. All of your installed framework apps are listed. Click one to run it.

Other command-line options

Command-line tools for app management include setup, run, test, clean, createapp, removeapp, and deploy.

Next
{% component_loader %}