Skip to content

Instantly share code, notes, and snippets.

@house9
Created May 3, 2009 22:19
Show Gist options
  • Save house9/106173 to your computer and use it in GitHub Desktop.
Save house9/106173 to your computer and use it in GitHub Desktop.
#!/bin/bash
directory="/home/YOUR_USER_NAME/projects/YOUR_PROJECT_DIR/trunk"
command="script/server"
title_dev="Dev_Trunk"
title_running="Running_Trunk"
profile2="P2"
firefox_profile="p2"
clear
echo ""
echo "launch script/server"
gnome-terminal --working-directory=$directory --title=$title_running --command=$command --profile=$profile2
echo "launch terminal at trunk"
gnome-terminal --working-directory=$directory --name=$title_dev --title=$title_dev
echo "launch firefox at localhost"
firefox http://localhost:3000 -P $firefox_profile -no-remote &
echo "launch komodo edit"
/home/YOUR_USER_NAME/applications/Komodo-Edit-5/bin/komodo &
echo -e "\033[1mRails development in effect...\033[0m"
echo ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment