summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorMatt Jankowski <matt@jankowski.online>2024-06-10 11:22:26 -0400
committerGitHub <noreply@github.com>2024-06-10 15:22:26 +0000
commit28921a12fe0033c7231f42e95a2be80628844bb4 (patch)
treecdaa1bc51cd998e0a6403a5c0d3614b93fd25f58 /README.md
parent3e3f3d75805ec4209e0b12984626a5be0a9ba2e5 (diff)
Update macOS local dev setup instructions (#30641)
Diffstat (limited to 'README.md')
-rw-r--r--README.md21
1 files changed, 11 insertions, 10 deletions
diff --git a/README.md b/README.md
index f807120c1ed..4aca37673b8 100644
--- a/README.md
+++ b/README.md
@@ -86,18 +86,18 @@ A **Vagrant** configuration is included for development purposes. To use it, com
- Run `vagrant ssh -c "cd /vagrant && bin/dev"`
- Open `http://mastodon.local` in your browser
-### MacOS
+### macOS
-To set up **MacOS** for native development, complete the following steps:
+To set up **macOS** for native development, complete the following steps:
-- Use a Ruby version manager to install the specified version from `.ruby-version`
-- Run `bundle` to install required gems
-- Run `brew install postgresql@14 redis imagemagick libidn` to install required dependencies
-- Navigate to Mastodon's root directory and run `brew install nvm` then `nvm use` to use the version from `.nvmrc`
-- Run `yarn` to install required packages
-- Run `corepack enable && corepack prepare`
-- Run `RAILS_ENV=development bundle exec rails db:setup`
-- Finally, run `bin/dev` which will launch the local services via `overmind` (if installed) or `foreman`
+- Install [Homebrew] and run `brew install postgresql@14 redis imagemagick
+libidn nvm` to install the required project dependencies
+- Use a Ruby version manager to activate the ruby in `.ruby-version` and run
+ `nvm use` to activate the node version from `.nvmrc`
+- Run the `bin/setup` script, which will install the required ruby gems and node
+ packages and prepare the database for local development
+- Finally, run the `bin/dev` script which will launch services via `overmind`
+ (if installed) or `foreman`
### Docker
@@ -155,3 +155,4 @@ You should have received a copy of the GNU Affero General Public License along w
[Development Containers]: https://containers.dev/supporting
[Docker]: https://docs.docker.com
[GitHub Codespaces]: https://docs.github.com/en/codespaces
+[Homebrew]: https://brew.sh