Skip to content

Instantly share code, notes, and snippets.

View edrush's full-sized avatar

Wolfram Eberius edrush

  • Dresden, Deutschland
View GitHub Profile
@edrush
edrush / install.php
Last active May 17, 2016 06:30
Script that installs composer and runs composer install (e.g. if you don't have console access to your server).
<?php
error_reporting(E_ERROR);
ini_set('display_errors', 1);
define('SOURCE_DIR', '..');
define('HOME_DIR', '/');
define('COMPOSER_HOME_DIR', HOME_DIR . 'composer/');
// define if you need access to a private repository on github
// define('OAUTH_TOKEN', '1234');