presentations/reading-college/demo/.tmux-sessionizer

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
629 B
Text
Raw Normal View History

2025-05-08 21:21:23 +01:00
#!/usr/bin/env bash
tmux new-window -dn scratch
tmux new-window -dn static -c static
tmux send-keys -t static "simple-http-server --index --port 4000" Enter
tmux new-window -dn sculpin_install -c sculpin
tmux send-keys -t sculpin_install "composer install" Enter
tmux new-window -dn sculpin_run -c sculpin
tmux send-keys -t sculpin_run "vendor/bin/sculpin generate --server --port 4001 --watch" Enter
tmux new-window -dn drupal_install -c drupal
tmux send-keys -t drupal_install "composer install" Enter
tmux new-window -dn drupal_run -c drupal
tmux send-keys -t drupal_run "vendor/bin/drush runserver :4002" Enter
nvim .