criollo/develop.sh

11 lines
198 B
Bash
Raw Normal View History

2024-10-14 05:02:47 +00:00
#!/usr/bin/env sh
2024-10-09 12:41:16 +00:00
npx medusa migrations run
2024-10-15 16:28:57 +00:00
# Check if PORT is set and not empty, then add it to the command
if [ -n "$PORT" ]; then
npx medusa "$@" --port "$PORT"
else
npx medusa "$@"
fi