#!/bin/bash

if [ "$ANYCABLE_DEPLOYMENT" == "true" ]; then
  bundle exec anycable --server-command="anycable-go"
else
  bundle exec rails server -p $PORT -b 0.0.0.0
fi
