https://github.com/slok/khronos
Modern replacement of cron for microservice architecture.
https://github.com/slok/khronos
Last synced: 7 months ago
JSON representation
Modern replacement of cron for microservice architecture.
- Host: GitHub
- URL: https://github.com/slok/khronos
- Owner: slok
- License: apache-2.0
- Created: 2016-02-05T19:24:33.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-26T07:21:22.000Z (over 9 years ago)
- Last Synced: 2025-03-19T08:39:18.786Z (7 months ago)
- Language: Go
- Size: 90.8 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
Khronos [](https://travis-ci.org/slok/khronos) [](https://goreportcard.com/report/github.com/slok/khronos)
=======Khronos is a modern replacement of cron for microservice architecture.
## Run on dev mode
To run khronos on dev mode you will need: `make`, `docker-compose` and `Docker`.
### Basic start (Single run mode)
The simplest way to run Khronos on your dev machine is doing:
$ make dev
This command will build all the environment, compile and run the application
### Development mode
The most confortable way to run the dev environment is doing:
$ make up
This command will build the environment and run the shell where you can exectute
any command### Settings on dev
To run with specific settings you can use the `KHRONOS_CONFIG_FILE` env var,
for example:$ KHRONOS_CONFIG_FILE="`pwd`/environment/dev/settings.json" go run ./cmd/khronosd/main.go
### Run tests
To run all the tests using ci settings.make --ignore-errors test
Or you can do it manually inside the container
KHRONOS_CONFIG_FILE="`pwd`/environment/ci/settings.json" go test `glide nv` -v
Or for specific tests, for example all boltdb tests:
KHRONOS_CONFIG_FILE="`pwd`/environment/ci/settings.json" go test `glide nv` -run "TestBoltDB*" -v
### Others
There are other comands like `make test` to run the tests, `make app_build` to
build the app binary and many more. Check the [Makefile](Makefile) for all the
commands## Changelog
Check [Changelog](CHANGELOG.md)
## Authors
Check [AUTHORS](AUTHORS)
## License
Check [LICENSE](LICENSE)