Skip to content

Commit

Permalink
Add a couple of example dev/prod run scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
gavincarr committed Sep 8, 2013
1 parent b8fccc8 commit f0486f4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions run.dev
@@ -0,0 +1,6 @@
#!/bin/bash

exec 2>&1
export MOJO_MODE=development
exec /usr/bin/plackup --server HTTP::Server::Simple ./spoor --port 3007

6 changes: 6 additions & 0 deletions run.prod
@@ -0,0 +1,6 @@
#!/bin/bash

exec 2>&1
export MOJO_MODE=production
exec start_server --port 3007 -- starman --workers 8 ./spoor

0 comments on commit f0486f4

Please sign in to comment.