mirror of
https://github.com/standardnotes/server
synced 2026-07-14 09:01:33 -04:00
25 lines
412 B
Bash
Executable File
25 lines
412 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
COMMAND=$1 && shift 1
|
|
|
|
case "$COMMAND" in
|
|
'start-local' )
|
|
echo "Building the project..."
|
|
yarn workspace @standardnotes/api-gateway build
|
|
echo "Starting Web..."
|
|
yarn workspace @standardnotes/api-gateway start
|
|
;;
|
|
|
|
'start-web' )
|
|
echo "Starting Web..."
|
|
yarn workspace @standardnotes/api-gateway start
|
|
;;
|
|
|
|
* )
|
|
echo "Unknown command"
|
|
;;
|
|
esac
|
|
|
|
exec "$@"
|