Follow

Foreman start alias:

fs() {
local options=''
if [ -e '.env' ]; then; options='-e .env'; fi
if [ -e '.env.local' ]; then; options="$options,.env.local"; fi
if [ -e 'Procfile.dev' ]; then; options="$options -f Procfile.dev"; fi
eval "foreman start $options $@"
}

Sign in to participate in the conversation
Ruby.social

A Mastodon instance for Rubyists & friends