Giter Club home page Giter Club logo

step-runner's Introduction

Step-runner

This utility is meant to execute larger jobs in steps. It enables automatic execution of scripts in numbered order and also provides methods of managing and rearranging scripts. Very convenient to use for system configuration steps after a reinstall. The way I myself am using this script is that I have a git repository where I store all my configurations and can simply clone the repository whenever I need to set up my development environment. Check out my configuration for an example, which you are free to fork and do whatever with.

Originally this project was fork of Saw Hewitt's "Ubuntu Post Install Script" but has been completely redone to use a different workflow. It's licensed under GPLv3, see the "LICENSE" file for more information.

Installation

Install the utility with this one-liner below:

git clone https://github.com/nsrosenqvist/step-runner.git && cd step-runner && sudo make install

Usage:

You can either pass the path to a directory where the job is located or if no arguments are set it will work out of the current working directory. If a file called "globals.conf" is found in the directory it's automatically loaded so that it's content is accessible to every other step of the job.

A configuration step is basically a BASH-script where you can add PPA's, install applications, edit files or whatever you wish. The file name should end in .step instead of .sh to be picked up by the step-runner.

You can either use your own editor to edit the scripts or use the menu from the script which launches an editor instance whenever editing or creating steps. The latter is the preferred way since it will make sure that the files are correctly named and numbered. If you've been mucking around too much with the files outside of the script's editor, you can run "Reorder steps" from the "Cleanup" menu and it will rename them appropriately.

step-runner's People

Contributors

ampersam-git avatar nsrosenqvist avatar jaywink avatar

Watchers

James Cloos avatar  avatar

step-runner's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.