Created
July 5, 2011 12:18
-
-
Save hortinstein/1064735 to your computer and use it in GitHub Desktop.
screenrc for automating some rails setup (spork, autotest, server)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
screen -t home | |
split -v | |
focus down | |
screen bash -c 'echo "rails server"; cd Documents/railsTutorial/sample_app/; rails s; exec bash -i;' | |
split | |
focus down | |
screen bash -c 'echo "spork"; cd Documents/railsTutorial/sample_app/; sleep 5; bin/spork; exec bash -i; ' | |
split -v | |
focus down | |
screen bash -c 'echo "sql output"; cd Documents/railsTutorial/sample_app/; exec bash -i;' | |
focus down | |
screen bash -c 'echo "autotest"; cd Documents/railsTutorial/sample_app/; sleep 25; autotest ; exec bash -i;' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment