Skip to content

Instantly share code, notes, and snippets.

@Munter
Created April 2, 2013 12:54
Show Gist options
  • Save Munter/5291993 to your computer and use it in GitHub Desktop.
Save Munter/5291993 to your computer and use it in GitHub Desktop.
Makefile targets to quickly switch development server to a different backend
livelocal:
-screen -S live -X quit
screen -S live -d -m livestyle --compiless -r http-pub --proxy http://127.0.0.1/
livetest:
-screen -S live -X quit
screen -S live -d -m livestyle --compiless -r http-pub --proxy http://$(TESTING)/
livepublishing:
-screen -S live -X quit
screen -S live -d -m livestyle --compiless -r http-pub --proxy http://$(PUBLISHING):8080/
liveproduction:
-screen -S live -X quit
screen -S live -d -m livestyle --compiless -r http-pub --proxy http://$(PRODUCTION)/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment