This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh/ | |
TEMP_DIR=/root/scripts/temp | |
DATE=$(date +"%F.%T"); | |
# Files Directories | |
LOCAL_DIR=/var/www/sites/... | |
REMOTE_DIR=/var/www/sites/... | |
# Database Info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh/ | |
# Setup for MAMP | |
echo | |
if [ -d /Applications/MAMP/Library/bin/ ]; then | |
echo "You're using MAMP. Cool. Gonna run some tests... "; | |
# Check if mysqldump is in /usr/local/bin/. If not, link 'em. | |
if [ ! -f /usr/local/bin/mysqldump ]; then | |
echo "mysqldump link doesn't exist. Creating link to MAMP."; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
ob_start(); | |
// | |
// Config | |
// | |
// Old Basecamp | |
$bc_old = array( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ** MySQL settings ** // | |
// define environments | |
$environments = array( | |
'local-joeyyax' => array( | |
'address' => array( 'domain.dev', 'www.domain.dev' ), | |
'db' => array( | |
'name' => '', | |
'user' => 'root', | |
'password' => 'root', |