mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-18 20:59:39 +02:00
* WIP * WIP * WIP * WIP * WIP * WIP * WIP * format * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * fix conflict * fix conflict * chore: run rubocop * fix test * update PWA logo * fix tests * chore: lint * fix test * Refactor: Remove duplicate data attribute in activity partial and add chat form rendering in chats index --------- Co-authored-by: Josh Pigford <josh@joshpigford.com>
22 lines
522 B
Bash
Executable file
22 lines
522 B
Bash
Executable file
#!/usr/bin/env sh
|
|
|
|
if ! gem list foreman -i --silent; then
|
|
echo "Installing foreman..."
|
|
gem install foreman
|
|
|
|
# Add rehash for rbenv users
|
|
if command -v rbenv > /dev/null; then
|
|
echo "Running rbenv rehash..."
|
|
rbenv rehash
|
|
fi
|
|
fi
|
|
|
|
# Default to port 3000 if not specified
|
|
export PORT="${PORT:-3000}"
|
|
|
|
# Let the debug gem allow remote connections,
|
|
# but avoid loading until `debugger` is called
|
|
export RUBY_DEBUG_OPEN="true"
|
|
export RUBY_DEBUG_LAZY="true"
|
|
|
|
exec bundle exec foreman start -f Procfile.dev "$@"
|