Skip to content

Feat/kas port 8000#186

Open
AzCez wants to merge 93 commits intolewagon:masterfrom
AzCez:feat/kas-port-8000
Open

Feat/kas port 8000#186
AzCez wants to merge 93 commits intolewagon:masterfrom
AzCez:feat/kas-port-8000

Conversation

@AzCez
Copy link
Copy Markdown

@AzCez AzCez commented Apr 5, 2026

This pull request significantly enhances the development workflow for Rails projects with a React/Redux frontend by introducing a comprehensive set of aliases, scripts, and documentation. The main focus is on streamlining Rails and npm process management, providing robust shortcuts, and improving onboarding with clear instructions.

Key changes are grouped below:

Rails + npm Workflow Integration

  • Added a detailed README-dev.md that documents the new Rails + npm development setup, including usage instructions, process management features, troubleshooting, and integration with existing aliases.
  • Introduced and documented new development aliases (such as dev, devs, devk, dev-rails, dev-npm, etc.) for managing Rails and npm processes, including enhanced process management, logging, and status checking. [1] [2]
  • Updated the main README.md to reference the new advanced workflow documentation.

Shell Alias Improvements

  • Overhauled the aliases and aliases.backup files to include:
    • Enhanced Rails and npm development aliases, including support for custom ports and script names.
    • Improved server management aliases for Rails, Vite, and Docker Compose.
    • Additional utility aliases for networking, Python environments, git workflows, and local navigation. [1] [2]
  • Cleaned up and expanded documentation within the alias files for clarity and maintainability. [1] [2]

macOS Quality-of-Life

  • Added a .macos tweak to allow quitting Finder with ⌘+Q, which also hides desktop icons.

These changes collectively provide a smoother, more reliable, and well-documented development experience for Rails + React projects, making it easier for both new and existing team members to manage their local environments.

AzCez and others added 30 commits August 19, 2020 14:10
- Enhanced shell aliases for development workflow
- Updated zshrc with additional plugins and environment setup
- Improved git configuration with useful aliases
- Updated installation script for better setup automation
…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.
Add complete set of development server management aliases with professional output and command references.

New aliases:
- rds: Start both Rails and Vite servers in background
- crs: Check server status with detailed information and smart URL display
- krs: Kill Rails server only with comprehensive process cleanup
- kvs: Kill Vite server only with comprehensive process cleanup
- rvs: Start just Vite server in background
- kas: Kill all development servers (Rails + Vite)

Features:
- Professional output with emojis and clear formatting
- Smart error handling (only shows URLs for running servers)
- Comprehensive process cleanup (port-based + process name-based)
- Consistent command reference displayed by all aliases
- Background execution (non-blocking terminal)
- Log file management (/tmp/rails.log, /tmp/vite.log)

All aliases are version-controlled in dotfiles repository:
- Scripts: /Users/ces/code/AzCez/dotfiles/scripts/
- Aliases: /Users/ces/code/AzCez/dotfiles/aliases

This provides a streamlined development workflow for Rails + Vite projects.
- Add lsof/pkill for uvicorn on 8000 (e.g. SOTA_Generator bin/dev)
- Include 8000 in final multi-port cleanup list
- Refresh kas.sh with GoodJob, Python executors, Foreman/Overmind, Vite 3106

Made-with: Cursor
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.

1 participant