<commit_before>#Kala

[![Circle CI](https://circleci.com/gh/ajvb/kala.svg?style=svg)](https://circleci.com/gh/ajvb/kala)
[![Coverage Status](https://coveralls.io/repos/ajvb/kala/badge.svg?branch=master&service=github)](https://coveralls.io/github/ajvb/kala?branch=master)

#### Currently in Alpha stage. Do not use in production environments.

Kala is a simplistic, modern, and performant job scheduler written in Go. It lives in a single binary and does not have any dependencies.

Kala was inspired by [Chronos](https://github.com/airbnb/chronos), developed by Airbnb, but the need for a Chronos for the rest of us. Chronos is built on top of Mesos, and
is fault tolerant and distributed by design. These are two features which Kala does not have, as it was built for smaller deployments.

It has a simple JSON over HTTP API, so it is language agnostic. It has Job Stats, Configurable Retries, uses ISO 8601 Date and Interval
notation, Dependant Jobs, and is Persistent (using BoltDB). Eventually it will support Redis as a Backend and have a Web UI.

#### Have any feedback or bugs to report?

Please create an issue within Github, or also feel free to email me at aj <at> ajvb.em

#### I need [fault tolerance, distributed-features, this to work at scale]

I recommend checking out [Chronos](https://github.com/airbnb/chronos). This is designed to be the Chronos for start-ups.

# Installing Kala

## Source

Step 0: Requires Go 1.0+ and git

Step 1: Clone this repo

```
git clone https://github.com/ajvb/kala.git
```

Step 2: Install Dependencies

```
cd kala && go get ./...
```

Step 3: Build the Kala binary

```
go build
```

Step 4: Move to somewhere in your $PATH

```
mv kala /usr/local/bin/
```

One liner:
```
git clone https://github.com/ajvb/kala.git && cd kala && go get ./... && go build && mv kala /usr/local/bin/
```


# Getting Started

Once you have installed Kala onto the machine you would like to use, you can follow the below steps to start using it.

To Run Kala:
```bash<commit_msg>Update README with godep instructions<commit_after>#Kala

[![Circle CI](https://circleci.com/gh/ajvb/kala.svg?style=svg)](https://circleci.com/gh/ajvb/kala)
[![Coverage Status](https://coveralls.io/repos/ajvb/kala/badge.svg?branch=master&service=github)](https://coveralls.io/github/ajvb/kala?branch=master)

#### Currently in Alpha stage. Do not use in production environments.

Kala is a simplistic, modern, and performant job scheduler written in Go. It lives in a single binary and does not have any dependencies.

Kala was inspired by [Chronos](https://github.com/airbnb/chronos), developed by Airbnb, but the need for a Chronos for the rest of us. Chronos is built on top of Mesos, and
is fault tolerant and distributed by design. These are two features which Kala does not have, as it was built for smaller deployments.

It has a simple JSON over HTTP API, so it is language agnostic. It has Job Stats, Configurable Retries, uses ISO 8601 Date and Interval
notation, Dependant Jobs, and is Persistent (using BoltDB). Eventually it will support Redis as a Backend and have a Web UI.

#### Have any feedback or bugs to report?

Please create an issue within Github, or also feel free to email me at aj <at> ajvb.em

#### I need [fault tolerance, distributed-features, this to work at scale]

I recommend checking out [Chronos](https://github.com/airbnb/chronos). This is designed to be the Chronos for start-ups.

## Installing Kala

*Requires Go 1.0+ and git*

1. Get Kala

	```
go get github.com/ajvb/kala
```

2. Run Kala

	```
	kala run
	```

## Development

1. Change directory to Kala source

	```
	cd $GOPATH/src/github.com/ajvb/kala
	```

2. Restore Godeps

	```
	godep restore
	```

3. Build the local Kala binary

	```
	go build
	```

4. Run local Kala

	```
	./kala run
	```

5. **Optional:** Replace the preinstalled Kala with local Kala

	```
	go install
	```


# Getting Started

Once you have installed Kala onto the machine you would like to use, you can follow the below steps to start using it.

To Run Kala:
```bash
{'fraction_non_alphanumeric': 0.10592592592592592, 'fraction_numerical': 0.005925925925925926, 'mean_word_length': 3.970552147239264, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 14, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1479189', 'n_tokens_mistral': 1340, 'n_tokens_neox': 1263, 'n_words': 543}