https://github.com/onebeyond/systemic-domain-runner
Starts systemic systems within a domain
https://github.com/onebeyond/systemic-domain-runner
hacktoberfest
Last synced: 17 days ago
JSON representation
Starts systemic systems within a domain
- Host: GitHub
- URL: https://github.com/onebeyond/systemic-domain-runner
- Owner: onebeyond
- License: mit
- Created: 2016-07-07T08:23:25.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-07-20T11:47:08.000Z (almost 2 years ago)
- Last Synced: 2025-06-12T19:14:14.875Z (21 days ago)
- Topics: hacktoberfest
- Language: JavaScript
- Size: 12.7 KB
- Stars: 1
- Watchers: 15
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://codeclimate.com/github/onebeyond/systemic-domain-runner/maintainability)
[](https://codeclimate.com/github/onebeyond/systemic-domain-runner/test_coverage)# Systemic Domain Runner
Starts [systemic](https://github.com/guidesmiths/systemic) systems within a domain## TL;DR
```js
const Systemic = require('systemic')
const runner = require('systemic-domain-runner')const system = new Systemic()
.add('config', { foo: 1, bar: 2 })
.add('app', require('./my-app'))
.dependsOn('config')runner(system).start((err, components) => {
if (err) throw err
console.log('Started')
})
```
## Features
* Shutsdown the system on unhandled errors
* Uses [system-service-runner](https://github.com/guidesmiths/systemic-service-runner) as the underlying runner by default## Usage
```
runner(, []).start()
```### Default options
```js
{
logger: console,
runner: require('systemic-service-runner')
}
```