Skip to content

Instantly share code, notes, and snippets.

@shoaibali
Last active January 30, 2016 07:09
Show Gist options
  • Save shoaibali/309ee4fa934b21944fca to your computer and use it in GitHub Desktop.
Save shoaibali/309ee4fa934b21944fca to your computer and use it in GitHub Desktop.
<?php
/* FOR A SHELL SCRIPT TO SET THIS UP FOR YOU SEE https://gist.github.com/shoaibali/897687f48970b57ebad3/ */
/* Change this from 'dev' to 'live' for a production environment. */
define('SS_ENVIRONMENT_TYPE', 'dev');
/* This defines a default database user */
define('SS_DATABASE_SERVER', 'localhost');
define('SS_DATABASE_USERNAME', 'root');
define('SS_DATABASE_PASSWORD', '');
define('SS_DATABASE_NAME', 'deploynaut');
define('SS_DEFAULT_ADMIN_USERNAME','admin');
define('SS_DEFAULT_ADMIN_PASSWORD','pass');
date_default_timezone_set('Pacific/Auckland');
// the SSH key of the www-data user, used for authenticating access to remote servers
define('DEPLOYNAUT_SSH_KEY', '/var/www/.ssh/id_rsa');
define('DEPLOYNAUT_LOG_PATH', '/sites/deploynaut/www/assets/_deploynaut_logs');
// we are using /var/tmp instead of /tmp so that the files are persisted between reboots
define('DEPLOYNAUT_LOCAL_VCS_PATH', '/var/tmp/deploynaut_local_vcs');
global $_FILE_TO_URL_MAPPING;
$_FILE_TO_URL_MAPPING['/sites/deploynaut/www'] = 'http://127.0.0.1';
define('FLAG_SNAPSHOTS_ENABLED', true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment