Created
December 17, 2014 21:27
-
-
Save barrykooij/e8a3ea1608052a434789 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Install Mailcatcher | |
if [ ! -f /var/log/mailcatchersetup ]; | |
then | |
sudo /opt/vagrant_ruby/bin/gem install mailcatcher | |
sudo touch /var/log/mailcatchersetup | |
fi | |
# Configure sendmail_path for MailCatcher | |
sudo sed -i '/;sendmail_path =/c sendmail_path = "/opt/vagrant_ruby/bin/catchmail"' /etc/php5/apache2/php.ini | |
# Start MailCatcher on specific ip and port | |
mailcatcher --http-ip=192.168.33.10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment