57 lines
1.1 KiB
Markdown
57 lines
1.1 KiB
Markdown
# Redux Scraper
|
|
|
|
A Ruby on Rails application for scraping and managing various content sources.
|
|
|
|
## Setup
|
|
|
|
This application is configured for optimal development and testing performance:
|
|
|
|
### Performance Optimizations
|
|
|
|
- **Bootsnap**: Accelerates gem loading and caching for faster boot times
|
|
- **Spring**: Preloads the Rails application for faster command execution
|
|
|
|
#### Rails Boot Performance
|
|
|
|
- Development boot time: ~270ms (87% faster than without optimization)
|
|
- Test environment startup: ~211ms (29% faster than without optimization)
|
|
|
|
To use Spring-optimized commands:
|
|
```bash
|
|
# Use bin/ executables for Spring acceleration
|
|
bin/rails console
|
|
bin/rails runner "puts 'Hello'"
|
|
bin/rspec spec/
|
|
```
|
|
|
|
# README
|
|
|
|
This README would normally document whatever steps are necessary to get the
|
|
application up and running.
|
|
|
|
Things you may want to cover:
|
|
|
|
* Ruby version
|
|
|
|
- 3.2.6
|
|
|
|
* System dependencies
|
|
|
|
- node 18.x
|
|
|
|
* Configuration
|
|
|
|
* Database creation
|
|
|
|
* Database initialization
|
|
|
|
* How to run the test suite
|
|
|
|
* Services (job queues, cache servers, search engines, etc.)
|
|
|
|
* Deployment instructions
|
|
|
|
- Build docker image with `docker build . -t redux-scraper-app`
|
|
|
|
* ...
|