• pjotr .pjotr ., over 5 years ago

    Nice. I love using alfred for webdev.

    I have a workflow for building static sites. It's something like this:

    • Keyword make website {query}
    • Run Script:

    Here's my script:

    cd && cd Sites && mkdir {query} && cd {query} && git clone <my personal middleman boilerplate> && bundle && rake sass && rake preview && edit .

    Basically this is saying create a new directory in directory sites with query name. Then clone my boilerplate, install gems, run the sass rake command (I have a sass alias to for watching and compressing my sass) and then run the middleman preview server which is executed with rake preview. After then open the newly created site with sublime text (edit alias).

    • Alert (a simple notification telling me everything is good to go)
    9 points
    • Clark Wimberly, over 5 years ago

      That's what I'm talking about! Next-level laziness.

      2 points
    • Mattan IngramMattan Ingram, over 5 years ago

      Immediately doing something like this for getting my dev environment running.

      How long until you can just tell your computer in plain language what commands to execute?

      0 points