Skip to content

gmarland/GhostRunner

Repository files navigation

GhostRunner

GhostRunner is an app that when installed on a server allows the web based management and running of JavaScript files when combined with the GhostRunner.Server service. The standalone version is at http://goghostrunner.com and the new hosted version is at http://ghostrunner.io

GhostRunner supports the definition of several script types (Git, Grunt, Node.js, PhantomJS and command line) which can be strung together as sequences. Sequences and scripts can be ran manually, be scheduled, or started via a POST request.

The purpose is to allow tasks that might not be wanted in the core of the application to be abstracted out or (as I am using it) as a continuous intergration server.

Scripts can be parameterized by entering variables using double square bracket notation, e.g. [[parameter_name]], which allows a script to be reused depending on the sequence it is required for.

Project list
This displays a list of projects that have been created in GhostRunner. You can create new projects here and it is a great way to group your scripts.

![alt tag](https://raw.githubusercontent.com/gmarland/GhostRunner/master/DemoImages/ProjectList.PNG)

Create a script
Once inside a project you can define your scripts. They can be parameterized using double square bracket notation (like in this example [[username]] is defined so it can be specified each time the script runs).

![alt tag](https://raw.githubusercontent.com/gmarland/GhostRunner/master/DemoImages/CreateScript.PNG)

Script list
Once a script has been defined it will appear under the project and can be ran or edited as required.

![alt tag](https://raw.githubusercontent.com/gmarland/GhostRunner/master/DemoImages/ScriptList.PNG)

![alt tag](https://raw.githubusercontent.com/gmarland/GhostRunner/master/DemoImages/ScriptsDetail.PNG)

Run script
Pressing run on a script will allow you to specify the defined parameters and then will queue it for processing by the GhostRunner.Server.

![alt tag](https://raw.githubusercontent.com/gmarland/GhostRunner/master/DemoImages/ScriptRun.PNG)

Create a sequence
Inside a project you can define a sequence of scripts. The scripts will be ran one after another when ran.

![alt tag](https://raw.githubusercontent.com/gmarland/GhostRunner/master/DemoImages/SequenceScripts.PNG)

![alt tag](https://raw.githubusercontent.com/gmarland/GhostRunner/master/DemoImages/SequenceScriptDetail.PNG)

Sequence list
Once a sequence has been defined it will appear under the project and can be ran or edited as required.

![alt tag](https://raw.githubusercontent.com/gmarland/GhostRunner/master/DemoImages/SequenceList.PNG)

History
A record is made of of every time a script or sequence has ran along with its current status. expanding also gives all the details of the ran script or sequence.

![alt tag](https://raw.githubusercontent.com/gmarland/GhostRunner/master/DemoImages/History.PNG)

![alt tag](https://raw.githubusercontent.com/gmarland/GhostRunner/master/DemoImages/HistoryDetail1.PNG)

![alt tag](https://raw.githubusercontent.com/gmarland/GhostRunner/master/DemoImages/HistoryDetail2.PNG)

Schedule
Once you have scripts and sequences defined you can schedule them to run as required daily, weekly or monthly

![alt tag](https://raw.githubusercontent.com/gmarland/GhostRunner/master/DemoImages/ScheduleList.PNG)

Remote Start
Sequences or scripts can be kicked off through a POST request to http://[ServerLocation]/post/task/[External ID of script or sequence]. The External ID can be found on the script or sequence definition of the app. Parameters for scripts can also be defined within the POST request as required


Any server this is installed on will require .Net 4.5. If you want some help setting this up or have any questions please feel free to contact me.

About

JavaScript Task Server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages