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
#!/bin/bash | |
#run the app to grab a random URL then die | |
bundle exec ruby app.rb & | |
PID=$! | |
sleep 3 | |
open http://localhost:4567 | |
sleep 10 | |
kill $PID |