-
Install Homebrew
First of all install Homebrew a.k.a
brew
(OSX package manager, likeapt-get
).Goto https://brew.sh/ and follow the instructions.
-
Install Command Line Tools
Open a terminal and run:
$ xcode-select --install
-
Install
ruby-install
(install multiple versions of Ruby)$ brew install ruby-install
Then install Ruby 2.4:
ruby-install ruby-2.4
-
Install
chruby
(switch between Ruby versions)$ brew install chruby
Configure and add a default Ruby version (see more detailed info):
In
~/.bashrc
(or if you use zsh~/.zshrc
), add:source /usr/local/share/chruby/chruby.sh chruby ruby-2.4
-
Install bundler
$ gem install bundler # npm/yarn for Ruby
and install some other nice ruby tools:
$ gem install foreman # Manage Procfile-based applications $ gem install rubocop # Ruby code linting anf formatting tool
-
Install postgresql
$ brew install postgresql
⚠️ Make sure that you either configure to postgres to be launched automatically or you have to remember to start postgres each time you want to run the API. -
Install Redis
brew install redis
⚠️ Don't configure redis to automatically launch. When you start the API server it will start Redis automatically. -
Install the API
Goto https://github.com/justarrived/just_match_api#getting-started and follow the instructions.
-
Install burens dot-files (optional)
curl -L https://raw.github.com/buren/dot-bash/master/setup.bash | bash
-
Profit 🎉
Created
May 12, 2017 12:05
-
-
Save buren/c85d0e216ec3cd3f762036e8f2e05eb0 to your computer and use it in GitHub Desktop.
Just Arrived - Dev machine setup
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment