Discover Amazing Stories, Ruby on Rails, Turbo Stream, Stimulus.js, PostgreSQL, Redis, Tailwindcss, Flyonui.
Things you may want to cover:
-
Ruby version
-
System dependencies
-
Configuration
-
Database creation
-
Database initialization
-
How to run the test suite
-
Services (job queues, cache servers, search engines, etc.)
-
Deployment instructions
-
...
- Ruby
- Ruby On Rails
- Ruby on Rails Guides
- Postgresql
- Redis
- Dragonfly
- Pagy
- Sidekiq
- Rubocop rails
- Stimulus JS
- Esbuild
- Bootstrap 5
- Chart.js
- Tailwindcss
- FlyonUI
https://gorails.com/setup/ubuntu/22.04
cd myapp
./bin/dev
#Run in http://localhost:3000 cd myapp
docker-compose build
docker-compose up # run http://localhost:3000
docker-compose up --build # run http://localhost:3000
# Optional
docker-compose ps
docker-compose stop
docker-compose down
docker-compose run --rm app rails db:create
docker-compose run --rm app rails db:setup db:migrate
docker-compose run --rm app rails db:migrate
docker-compose run --rm app rails db:seed
docker-compose run --rm app rails console
docker-compose run --rm app rails rspec
docker-compose run --rm app rails rubocop
docker-compose run --rm app bash
docker-compose run --rm app bundle install
docker-compose run --rm app yarn install --check-files
# run http://localhost:3000brakeman
brakeman --help
brakeman -o tmp/output_analysis.html
open tmp/output_analysis.html # open browser
rake spec # or
rails specopen coverage/index.htmlxdg-open coverage/index.htmlrake stats # or
rails stats
