mirror of
https://github.com/System-End/stickers.git
synced 2026-04-19 05:30:24 +00:00
23 lines
463 B
Bash
Executable file
23 lines
463 B
Bash
Executable file
#!/usr/bin/env sh
|
|
|
|
export PORT="${PORT:-3000}"
|
|
|
|
if command -v overmind 1> /dev/null 2>&1
|
|
then
|
|
overmind start -f Procfile.dev "$@"
|
|
exit $?
|
|
fi
|
|
|
|
if command -v hivemind 1> /dev/null 2>&1
|
|
then
|
|
echo "Hivemind is installed. Running the application with Hivemind..."
|
|
exec hivemind Procfile.dev "$@"
|
|
exit $?
|
|
fi
|
|
|
|
if gem list --no-installed --exact --silent foreman; then
|
|
echo "Installing foreman..."
|
|
gem install foreman
|
|
fi
|
|
|
|
foreman start -f Procfile.dev "$@"
|