Skip to content

Instantly share code, notes, and snippets.

@smcabrera
Created October 21, 2014 16:52
Show Gist options
  • Save smcabrera/ca27971cfb16988ed3a7 to your computer and use it in GitHub Desktop.
Save smcabrera/ca27971cfb16988ed3a7 to your computer and use it in GitHub Desktop.
nitrous-laravel-setup.sh
echo "###### Installing software using nitrous' parts package manager ######"
parts install apr
parts install libmcrypt
parts install heroku_toolbelt
parts install apr_util
echo ""
echo "###### Installing php dependency manager composer"
parts install composer
echo ""
echo "###### Installing the latest version of php"
parts install php5
echo ""
echo "###### Installing open source server Apache"
parts install apache2
echo ""
echo "###### Installing mysql database"
parts install mysql
echo ""
echo "###### Installing chruby to manage ruby versions on nitrous"
parts install chruby
echo ""
echo "###### Installing Ruby version 2.1"
parts install ruby2.1
echo ""
echo "###### Installing the homesick gem to sync up my dotfiles"
gem install homesick
echo ""
echo "###### Install Dropbox"
cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -
echo "Save local configuration files from being overwritten by my symlinked dotfiles"
mv .zshrc .zshrc.local
mv .bashrc .zshrc.local
mv .oh-my-zsh .oh-my-zsh.local
mv .gitconfig .gitconfig.local
mv .README.md .README.md.local
mv .tmux.conf tmux.conf.local
echo " In order to finish setting up dropbox you'll need to run:"
echo "~/.dropbox-dist/dropboxd"
echo "and click on the link this creates in order to authorize this virtual machine with dropbox"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment