Sha256: 0ba2d79b568fb9b6db973477270d10f740edec0b3679a2beb025192a85b37ea5

Contents?: true

Size: 462 Bytes

Versions: 13

Compression:

Stored size: 462 Bytes

Contents

#!/usr/bin/env bash

set -e

# run any pending migrations
bin/rake db:prepare

# Check for and parse flags
for arg in "$@"
do
    case $arg in
        --debug)
            export DEBUG=true
        ;;
        *)
            # Unknown arguments can be ignored or handled here
        ;;
    esac
done

export SERVER_CMD="bin/rails server -p 6661"
if [[ -n "$DEBUG" ]]; then
    export SERVER_CMD="bundle exec rdbg -n -O -c -- $SERVER_CMD"
fi

exec overmind start

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
hephaestus-0.8.16.1 templates/script/server
hephaestus-0.8.16 templates/script/server
hephaestus-0.8.15.5 templates/script/server
hephaestus-0.8.15.4 templates/script/server
hephaestus-0.8.15.3 templates/script/server
hephaestus-0.8.15.2 templates/script/server
hephaestus-0.8.15.1 templates/script/server
hephaestus-0.8.15 templates/script/server
hephaestus-0.8.14 templates/script/server
hephaestus-0.8.13 templates/script/server
hephaestus-0.8.12.2 templates/script/server
hephaestus-0.8.12.1 templates/script/server
hephaestus-0.8.12 templates/script/server