summaryrefslogtreecommitdiff
path: root/bin/run.php
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2021-07-02 15:51:04 +0200
committerDaniel Weipert <code@drogueronin.de>2021-07-02 15:51:04 +0200
commiteddb042815eef3488e890468bc39507a375d1081 (patch)
treef3381910dc79e9ba76e5fb022b641e158b063975 /bin/run.php
Initial commit
Diffstat (limited to 'bin/run.php')
-rwxr-xr-xbin/run.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/run.php b/bin/run.php
new file mode 100755
index 0000000..2621c5d
--- /dev/null
+++ b/bin/run.php
@@ -0,0 +1,9 @@
+#!/usr/bin/env php
+
+<?php
+
+$rootDir = dirname(__DIR__);
+$buildDir = "$rootDir/build";
+
+chdir($buildDir);
+exec("docker-compose up -d");