Skip to content

Instantly share code, notes, and snippets.

@jendiamond
Last active August 13, 2018 21:20
Show Gist options
  • Save jendiamond/51dccf8e0d9371c28c76b4d91ff42f6e to your computer and use it in GitHub Desktop.
Save jendiamond/51dccf8e0d9371c28c76b4d91ff42f6e to your computer and use it in GitHub Desktop.

Homebrew Installation on Mac

In terminal

cd usr/local

mkdir home-brew

Change owner of home-brew directory



https://docs.library.ucla.edu/pages/viewpage.action?pageId=41550988

get a copy of the database Access to the ftyp server send ssh key Anthony or Charlie Chen

install mysql locally

pull and update local copy of db

https://gist.github.com/nrollr/3f57fc15ded7dddddcc4e82fe137b58e

mysql8 brew install mysql brew services start mysql

create a dev support in jira

  • permission for the sftp give them ssh public key
  • get an account for the jump server

/usr/local/bin/mysql


edit the config for mysql which increases the maximum packet size that mysql can handle or you can end up with errors

sudo vi /etc/my.cnf Create this file & Add this to that file

[mysqld]
max_allowed_packet=64M

Starts mysql brew services start mysql

Restart mysql brew services restart mysql

Install Drush

commandline tool for Drupal

drush uses composer

install composer curl https://getcomposer.org/installer > composer_installer

Run the installer using php

php composer_installer

Composer (version 1.7.1) successfully installed to: /usr/local/bin/composer.phar Use it: php composer.phar

---]

Do I have PHP?

install php which php /usr/bin/php

php -v PHP 7.1.16 (cli) (built: Mar 31 2018 02:59:59) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies


Drupal 7 uses PHP5


Use composer to install drush 7.x

composer.phar global require drush/drush:7.*

create a bash alias for composer.phar >> composer

Stopping at Step 18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment