Skip to content

Rails npm alias#1

Merged
AzCez merged 151 commits intomasterfrom
rails-npm-alias
Sep 11, 2025
Merged

Rails npm alias#1
AzCez merged 151 commits intomasterfrom
rails-npm-alias

Conversation

@AzCez
Copy link
Copy Markdown
Owner

@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.

primaulia and others added 30 commits April 18, 2020 09:57
add `ColorHighlight` as one one of the default package
Update Package Control.sublime-settings
the old homebrew analytics url is 404
Add default pull reconciliation strategy for git
Add Python activated environment to the right prompt
add anaconda package to sublime text
dmilon and others added 28 commits July 12, 2022 09:53
…-of-git-default-branch-name

Make git aliases agnostic of git default branch name
…v/null without failing to export enviroment variables
…search

vs code remove .venv folder from search
…nhanced aliases, and comprehensive documentation
- 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.
@AzCez AzCez merged commit 9fd0666 into master Sep 11, 2025
@AzCez AzCez deleted the rails-npm-alias branch September 11, 2025 20:06
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.