]> git.r.bdr.sh - rbdr/sorting-hat/blobdiff - bin/sorting_hat.js
Update binary and docs
[rbdr/sorting-hat] / bin / sorting_hat.js
diff --git a/bin/sorting_hat.js b/bin/sorting_hat.js
new file mode 100644 (file)
index 0000000..bcd1225
--- /dev/null
@@ -0,0 +1,18 @@
+'use strict';
+
+const Config = require('../config/config');
+const SortingHat = require('..');
+
+const internals = {
+
+  // Main entry point of the application
+
+  run() {
+
+    const sortingHat = new SortingHat(Config);
+
+    sortingHat.start();
+  }
+};
+
+internals.run();