mirror of
https://github.com/standardnotes/server
synced 2026-07-14 18:01:42 -04:00
28 lines
463 B
Bash
Executable File
28 lines
463 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/syncing-server start:local
|
|
;;
|
|
|
|
'start-web' )
|
|
echo "Starting Web..."
|
|
yarn workspace @standardnotes/syncing-server start
|
|
;;
|
|
|
|
'start-worker' )
|
|
echo "Starting Worker..."
|
|
yarn workspace @standardnotes/syncing-server worker
|
|
;;
|
|
|
|
* )
|
|
echo "Unknown command"
|
|
;;
|
|
esac
|
|
|
|
exec "$@"
|