Skip to content

Rails npm alias#179

Closed
AzCez wants to merge 77 commits intolewagon:masterfrom
AzCez:rails-npm-alias
Closed

Rails npm alias#179
AzCez wants to merge 77 commits intolewagon:masterfrom
AzCez:rails-npm-alias

Conversation

@AzCez
Copy link
Copy Markdown

@AzCez AzCez commented Sep 11, 2025

Add comprehensive Rails + npm development workflow

✨ New Features:

  • Rails + npm development script (dev.sh) with process management
  • Enhanced shell aliases for streamlined development workflow
  • Git aliases for pull request automation and branch management
  • Server status monitoring and process control aliases

📁 Files Added/Updated:

  • dev.sh: 249-line bash script with PID tracking, error handling, and logging
  • README-dev.md: Complete documentation with usage examples and troubleshooting
  • README.md: Updated with modern feature overview and quick start guide
  • aliases: 28 new development aliases (dev, devs, devk, s3dev, etc.)
  • gitconfig: PR automation aliases (pr, pr-main, pr-check, pr-auto)
  • zshrc: Vite/Rails server management aliases with enhanced status checking

🚀 Development Workflow Enhancements:

  • Process management with PID tracking and graceful shutdown
  • Duplicate process prevention and health monitoring
  • Color-coded logging and status feedback
  • Environment variable support for customization
  • Integration with existing Rails server aliases

🎯 Key Commands:

  • dev/dev-both: Start Rails + npm simultaneously
  • devs/dev-status: Check running processes
  • devk/dev-stop: Kill all development processes
  • s3dev-s5dev: Enhanced Rails servers with process tracking
  • krs/kvs: Kill Rails/Vite servers individually
  • crs: Comprehensive server status with PIDs and URLs

📚 Documentation:

  • Comprehensive setup and usage instructions
  • Troubleshooting guide with common issues
  • Integration examples with existing workflow
  • Environment variable configuration options

This update transforms the dotfiles into a production-ready development
environment for Rails applications with React/npm frontends.

@ssaunier ssaunier closed this Sep 11, 2025
AzCez pushed a commit to AzCez/dotfiles that referenced this pull request Sep 11, 2025
- Took upstream versions for zshrc, gitconfig, README.md to align with base repo
- Kept our Rails + npm dev workflow via dev.sh and aliases; will re-apply selectively if needed
- Removed deprecated Sublime settings files per upstream deletions
- Staged new upstream files (LICENSE, config/, keybindings.json, settings.json, zprofile)

Next: reconcile custom aliases and document workflow in README-dev.md.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants