diff --git a/README.md b/README.md index a62728683..5be7ca720 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,15 @@ bundle install echo "All done! Why not run some inspections? Run bin/rwr" ``` +## How to update your local copy of real-world-rails + +Pull the latest commits from this repo and update submodules: +```bash +git pull +GIT_LFS_SKIP_SMUDGE=1 git submodule update +``` + + ## Other Real World Codebase Collections - Real World Sinatra https://github.com/jeromedalbert/real-world-sinatra @@ -142,24 +151,6 @@ Given a GitHub repo for a Rails app `githubuser/foo`: GIT_LFS_SKIP_SMUDGE=1 git submodule add -b git@github.com:githubuser/foo.git apps/foo ``` -Regenerate [`repos.md`](repos.md): - -```bash -# Requires valid GITHUB_TOKEN -bin/get_project_data > repos.md - -# OR, if GitHub GraphQL API v4 schema has changed, update cached copy of schema: -FETCH_LATEST_SCHEMA=true bin/get_project_data > repos.md -``` - -#### Updating your local copy of real-world-rails - -Pull the latest commits from this repo and update submodules: -```bash -git pull -GIT_LFS_SKIP_SMUDGE=1 git submodule update -``` - #### How to remove a git submodule Only use this if a previously public repo has been removed: