We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c5d150 commit 795d061Copy full SHA for 795d061
.gitignore
@@ -45,6 +45,8 @@ php.ini
45
!.travis.scripts/*
46
47
48
+!scripts
49
+
50
# MKDocs
51
!docs
52
site
scripts/start-servers.php
@@ -0,0 +1,16 @@
1
+<?php
2
+require __DIR__ . "/" . "../tests/utils/orchestration.php";
3
4
5
+$host = "http://localhost:8889";
6
+if ($_ENV && isset($_ENV["ORCHESTRATION"])) {
7
+ $host = $_ENV["ORCHESTRATION"];
8
+}
9
10
+$orch = new Mongo\Orchestration($host);
11
12
+$orch->stopAll();
13
14
+$standalone = $orch->startStandalone();
15
+printf("Standalone server running on: %s\n", $standalone);
16
0 commit comments