From 7f0772b108c74ee63324a82c18214a662f8c6789 Mon Sep 17 00:00:00 2001 From: fox Date: Fri, 9 Dec 2022 22:20:15 -0600 Subject: [PATCH] format spacing and 80 character limit --- SETUP.md | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/SETUP.md b/SETUP.md index 1fb3322855..a9cc7c8dfe 100644 --- a/SETUP.md +++ b/SETUP.md @@ -114,33 +114,38 @@ bundle exec rake db:setup ## Running Mastodon 1. Run `export RAILS_ENV=development NODE_ENV=development`. - - Put these in your shell's .rc, or a script you can source if you want to skip this step in the future. + - Put these in your shell's .rc, or a script you can source if you want to \ + skip this step in the future. 2. Run `bundle exec rake assets:precompile`. - - If this explodes, complaining about `Hash`, you'll need to `export NODE_OPTIONS=--openssl-legacy-provider`. - - After doing this, you will need to run `bundle exec rake assets:clobber` and then re-run - `bundle exec rake assets:precompile`. + - If this explodes, complaining about `Hash`, you'll need to \ + `export NODE_OPTIONS=--openssl-legacy-provider`. + - After doing this, you will need to run `bundle exec rake assets:clobber` \ + and then re-run `bundle exec rake assets:precompile`. 3. Run `foreman start` # Updates/Troubleshooting ## RubyVM/DebugInspector Issues -Still unable to fix. Circumvent by removing `better_errors` and `binding_of_caller` from Gemfile. +Still unable to fix. Circumvent by removing `better_errors` and +`binding_of_caller` from Gemfile. + Happy to troubleshoot with someone better with Ruby than us >_<'/. ## Webpack Issues -If Webpack compalins about being unable to find some assets or locales: -Try: +If Webpack compalins about being unable to find some assets or locales: + +Try: 1. `rm -rf node_modules` 2. `yarn install` If this doesn't help, try: - 1. `yarn add webpack` 2. `git restore package.json yarn.lock` 3. `yarn install` Then re-run `foreman`. No. We have no idea why this worked. -If the above instructions don't work, please contact @Rin here, or @tammy@social.treehouse.systems. +If the above instructions don't work, please contact @Rin here, or \ +@tammy@social.treehouse.systems.