oauth-testing-suite
v1.0.0
Published
OAuth Authentication Testing Suite for OverSkill Apps
Maintainers
Readme
Overskill
Getting Started
You must have the following dependencies installed:
- Ruby 3
- See
.ruby-versionfor the specific version.
- See
- Node 19
- See
.nvmrcfor the specific version.
- See
- PostgreSQL 14
- Redis 6.2
- Chrome (for headless browser tests)
If you don't have these installed, you can use rails.new to help with the process.
- Ruby 3
Run the
bin/setupscript.Start the application with
bin/dev.Visit http://localhost:3000.
Assets: JS and CSS builds
The app’s assets are built with esbuild (JS) and PostCSS/Tailwind (CSS).
- Build everything once:
- npm run build
- Build JS only / watch:
- npm run build:js
- npm run build:js:watch
- Build CSS only / watch (application stylesheet):
- npm run build:css
- npm run build:css:watch
- Build mailer CSS only / watch (used for Action Mailer templates):
- npm run build:mailer:css
- npm run build:mailer:css:watch
Theme selection
- The build respects THEME, which controls which theme tokens are applied during CSS processing.
- Default is the app’s standard theme. To force the light theme:
- THEME=light npm run build:css
- THEME=light npm run build:mailer:css
- For watchers, you can also use convenience scripts:
- npm run light:build:css
- npm run light:build:mailer:css
Output files
- JS and CSS outputs are written to app/assets/builds/ and are served by Rails in development.
Information about Bullet Train
If this is your first time working on a Bullet Train application, be sure to review the Bullet Train Basic Techniques and the Bullet Train Developer Documentation.
