You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
291 B
17 lines
291 B
#! /usr/bin/env sh
|
|
|
|
DIR="$( cd "$( dirname "${0}" )" >/dev/null 2>&1 && pwd )"
|
|
export NODE_PATH="${DIR}"
|
|
|
|
echo "NODE_ENV: ${NODE_ENV}"
|
|
echo "NODE_PATH: ${NODE_PATH}"
|
|
echo "LOG_LEVEL: ${LOG_LEVEL}"
|
|
|
|
case $1 in
|
|
run)
|
|
node index.js
|
|
;;
|
|
*)
|
|
echo "\"$1\" is an unrecognized command"
|
|
;;
|
|
esac
|