Build system for injecting Vue application as a javascript dashboard. Build system also works well for getting away from the Splunk WYSIWYG (Web XML editor) for auto reloading on code changes.
- Docker for running the Splunk container.
- Node
- Source: Clone the project code into a local repo
$ cd ~/git
$ mkdir SplunkVue
$ cd SplunkVue
$ git clone https://github.com/JordanCason/SplunkVue.git
$ cd SplunkVue
- Dependencies:
npm install
That's it. You're ready to go!
- Run
npm startfrom the project root. This will automatically build, start, and monitor the project. Initial runs will be slow to startup since nothing will be cached in docker yet. Chromium will start by showing a wait page until the application server is accessible.
- Generate
package.zipby runningnpm run package-uat. This will result in the container shutting down andpackage.zipbeing written to the project root directory. - Generate
package.zipfor PROD by runningnpm run package-prod. This will result in the container shutting down andpackage.zipbeing written to the project root directory.
- Clone it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D