mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
Add database migrations using 'east' GitOrigin-RevId: da067292e9db1fad050545858bc7cc39245d3395
11 lines
196 B
Bash
Executable File
11 lines
196 B
Bash
Executable File
#!/bin/sh
|
|
|
|
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
|
|
|
|
if [ -f /.dockerenv ]; then
|
|
# I'm running inside docker
|
|
npm run migrations -- "$@"
|
|
else
|
|
${SCRIPTPATH}/run web_v2 bin/east "$@"
|
|
fi
|