🎥 Make videos programmatically with React
python version
Jonny Burgerb235b09b6a53
diff --git a/packages/example/testlambda.mjs b/packages/example/testlambda.mjsindex ba7f19cb89..ee319ef477 100644--- a/packages/example/testlambda.mjs+++ b/packages/example/testlambda.mjs@@ -41,3 +41,27 @@ execSync(stdio: 'inherit',});++const functionName = execSync(`pnpm exec remotion lambda functions ls -q`);++execSync(`php src/render.php`, {+ env: {+ // eslint-disable-next-line no-undef+ ...process.env,+ REMOTION_APP_FUNCTION_NAME: functionName.toString('utf8'),+ REMOTION_APP_SERVE_URL: 'testbed-v6',+ },+ cwd: '../lambda-php-example',+ stdio: 'inherit',+});+execSync(`python testclient.py`, {+ env: {+ // eslint-disable-next-line no-undef+ ...process.env,+ REMOTION_APP_REGION: 'eu-central-1',+ REMOTION_APP_FUNCTION_NAME: functionName.toString('utf8'),+ REMOTION_APP_SERVE_URL: 'testbed-v6',+ },+ cwd: '../lambda-python',+ stdio: 'inherit',+});