You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add comprehensive setup instructions for GitHub Packages authentication
required to install React on Rails Pro dependencies.
Changes:
- Add Prerequisites section with step-by-step token creation
- Document npm configuration for @shakacode-tools packages
- Document Bundler configuration for rubygems.pkg.github.com
- Add note about installation failure without authentication
- Clarify that each developer needs their own GitHub token
This addresses best practices for token management in demo repositories
where each developer should use their own credentials rather than
sharing tokens.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+20-1Lines changed: 20 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,12 +78,29 @@ This demo includes comprehensive documentation for both developers and AI coding
78
78
79
79
## 🚀 Quick Start
80
80
81
+
### Prerequisites: GitHub Packages Authentication
82
+
83
+
This demo uses **React on Rails Pro** from GitHub Packages. While RORP will be open source soon, it currently requires authentication with your Pro subscription token.
84
+
85
+
1.**Configure npm for GitHub Packages:**
86
+
```bash
87
+
npm config set @shakacode-tools:registry https://npm.pkg.github.com
88
+
npm config set //npm.pkg.github.com/:_authToken YOUR_PRO_TOKEN
**Note:** Without GitHub Packages authentication, `bundle install` and `npm install` will fail when trying to download `react_on_rails_pro` and `@shakacode-tools/react-on-rails-pro-node-renderer`.
0 commit comments