-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tidy README.md, remove repos.md instructions as this is now done by a…
… GitHub workflow
- Loading branch information
1 parent
7a9ffa3
commit 085cb8d
Showing
1 changed file
with
9 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 <DEFAULT_BRANCH> [email protected]: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: | ||
|