Skip to content

Instantly share code, notes, and snippets.

@bramchi
Created July 9, 2014 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bramchi/feeb6b9dba88510c5e76 to your computer and use it in GitHub Desktop.
Save bramchi/feeb6b9dba88510c5e76 to your computer and use it in GitHub Desktop.
This applescript is a nice way to start up a local development project. It opens two finder tabs, runs the local webserver, opens the corresponding sublime text project, runs grunt and opens the local url in Google Chrome.
tell application "Terminal"
do script "open /Users/bram/Dropbox/Projecten/Stagewerkt.nl && open /Users/bram/Sites/stagewerkt.nl/wp-content/themes/stagewerkt-2 && http start && cd /Users/bram/Sites/stagewerkt.nl/wp-content/themes/stagewerkt-2 && subl --project stagewerkt && grunt watch"
end tell
tell application "Google Chrome"
open location "http://www.stagewerkt.dev/"
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment