mirror of
https://github.com/standardnotes/server
synced 2026-07-31 05:16:40 -04:00
28 lines
457 B
Bash
Executable File
28 lines
457 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
COMMAND=$1 && shift 1
|
|
|
|
case "$COMMAND" in
|
|
'start-local')
|
|
echo "Starting Web in Local Mode..."
|
|
yarn workspace @standardnotes/files-server start:local
|
|
;;
|
|
|
|
'start-web' )
|
|
echo "Starting Web..."
|
|
yarn workspace @standardnotes/files-server start
|
|
;;
|
|
|
|
'start-worker' )
|
|
echo "Starting Worker..."
|
|
yarn workspace @standardnotes/files-server worker
|
|
;;
|
|
|
|
* )
|
|
echo "Unknown command"
|
|
;;
|
|
esac
|
|
|
|
exec "$@"
|