|
|
|
@ -54,13 +54,15 @@ case "$1" in
|
|
|
|
|
|
|
|
|
|
*)
|
|
|
|
|
echo "Welcome to NodeBB"
|
|
|
|
|
echo $"Usage: $0 {start|dev|watch|upgrade}"
|
|
|
|
|
echo $"Usage: $0 {start|stop|log|upgrade|dev|watch}"
|
|
|
|
|
echo ''
|
|
|
|
|
column -s ' ' -t <<< '
|
|
|
|
|
start Start NodeBB in production mode
|
|
|
|
|
dev Start NodeBB in development mode
|
|
|
|
|
watch Start NodeBB in development mode and watch for changes
|
|
|
|
|
start Start the NodeBB server
|
|
|
|
|
stop Stops the NodeBB server
|
|
|
|
|
log Opens the logging interface (useful for debugging)
|
|
|
|
|
upgrade Run NodeBB upgrade scripts, ensure packages are up-to-date
|
|
|
|
|
dev Start NodeBB in interactive development mode
|
|
|
|
|
watch Start NodeBB in development mode and watch for changes
|
|
|
|
|
'
|
|
|
|
|
exit 1
|
|
|
|
|
esac
|
|
|
|
|