game-data/entrypoints/dev.sh

8 lines
88 B
Bash

#!/bin/bash
if [ ! -f ./data/gamedata.db ]; then
rake db:migrate
fi
rake server:dev