1
0
Fork 0
mirror of https://github.com/overleaf/overleaf.git synced 2025-01-25 21:01:16 +00:00
overleaf/services/web/bin/east
Simon Detheridge 11ce07ec50 Merge pull request from overleaf/spd-migrations
Add database migrations using 'east'

GitOrigin-RevId: da067292e9db1fad050545858bc7cc39245d3395
2019-10-01 12:09:58 +00:00

10 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