Skip to content

Instantly share code, notes, and snippets.

@jottr
Created January 15, 2014 16:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jottr/3b85a6b4dae5403e242c to your computer and use it in GitHub Desktop.
Save jottr/3b85a6b4dae5403e242c to your computer and use it in GitHub Desktop.
Config using SilverstripeLauncher.php
<?php
require '../vendor/autoload.php';
// include 'SilverstripeLauncher.php';
require_once('conf/ConfigureFromEnv.php');
i18n::set_locale('en_US');
global $project;
global $database;
$project = 'mysite';
$ssl = new Docker\SilverstripeLauncher;
$database = $ssl->getContainerIP("mysql");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment