Last active
August 29, 2015 14:04
-
-
Save ybart/ac493de28ff6aa201b48 to your computer and use it in GitHub Desktop.
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
# Install ruby with RVM and Homebrew | |
$ xcode-select --install | |
$ gcc --version | |
$ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" | |
$ brew doctor | |
$ \curl -sSL https://get.rvm.io | bash -s stable --ruby | |
# Install PostgreSQL | |
$ brew install postgres | |
$ ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents | |
$ launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist | |
# Install Redis | |
$ brew install Redis | |
$ ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents | |
$ launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist | |
# Configure Git | |
$ git config --global color.ui true | |
$ git config --global user.name "YOUR NAME" | |
$ git config --global user.email "[email protected]" | |
# Use your SSH key to get Rails application or create a new one | |
$ ssh-keygen | |
$ pbcopy < ~/.ssh/id_rsa.pub | |
$ git clone [email protected]:... | |
# Run tests and launch Rails application | |
$ bundle | |
$ rake db:create db:migrate | |
$ rake | |
$ rails s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment