-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Mac Dev Setup Guide
Zach Gollwitzer edited this page Feb 6, 2024
·
9 revisions
If running the project locally, follow these instructions to get started:
If you don't already have it, install Homebrew. You can run the following command to do so:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
You will need a Ruby version >=3 to run this project. Ideally, the latest version.
We recommend installing rbenv
using Homebrew with the following commands:
brew install rbenv ruby-build
rbenv init
Follow the instructions in your shell.
Now, install a Ruby version:
rbenv install 3.3.0
And finally, set this as your default Ruby version for your machine if desired:
rbenv global 3.3.0
Check your Ruby version:
ruby -v
Install Postgres and start it as a service:
brew install postgresql
brew services start postgresql
Start by forking and then cloning the repo locally. Then run the following commands to start the app:
cd maybe
cp .env.example .env
bundle install
rails db:setup
bin/dev
WIP Footer
WIP Sidebar