From 46cf28de82b2c4e9f045b3d2c8ae9aeb1ab86533 Mon Sep 17 00:00:00 2001 From: Gregory Ballantine Date: Fri, 17 May 2024 09:14:02 -0400 Subject: [PATCH] Adding some basic start up for the ingest runner --- LICENSE | 2 +- README.md | 6 +++++- composer.json | 27 +++++++++++++++++++++++++++ src/Runner/IngestRunner.php | 16 ++++++++++++++++ src/Runner/Runner.php | 9 +++++++++ 5 files changed, 58 insertions(+), 2 deletions(-) create mode 100644 composer.json create mode 100644 src/Runner/IngestRunner.php create mode 100644 src/Runner/Runner.php diff --git a/LICENSE b/LICENSE index 9d7e3be..ca4dc37 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2024 BitGoblin +Copyright (c) 2024 Bit Goblin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/README.md b/README.md index 35b9472..d05b7c1 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ # Siren -Automated video ingester and transcoder service \ No newline at end of file +Automated video ingester and transcoder service + +## Dependencies + +Requires PHP version `7.4` or newer. diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..4cbdc0b --- /dev/null +++ b/composer.json @@ -0,0 +1,27 @@ +{ + "name": "bitgoblin/siren", + "description": "Self-hosted video ingest and transcoder service.", + "type": "project", + "license": "BSD-2-Clause", + "autoload": { + "psr-4": { + "BitGoblin\\Siren\\": "src/" + } + }, + "authors": [ + { + "name": "Gregory Ballantine", + "email": "gballantine@bitgoblin.tech" + } + ], + "minimum-stability": "stable", + "require": { + "slim/slim": "^4.13", + "slim/psr7": "^1.6", + "php-di/php-di": "^6.4", + "hassankhan/config": "^3.0" + }, + "scripts": { + "phinx": "./vendor/bin/phinx" + } +} diff --git a/src/Runner/IngestRunner.php b/src/Runner/IngestRunner.php new file mode 100644 index 0000000..b4e254c --- /dev/null +++ b/src/Runner/IngestRunner.php @@ -0,0 +1,16 @@ +