Commit e5f6a996ca592b8fbe124411944e3ad657bc902d

Authored by Rodrigo Souto
1 parent 993af968

quick-start: ensure database is running before database configurations

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
script/quick-start
@@ -94,6 +94,9 @@ else @@ -94,6 +94,9 @@ else
94 fi 94 fi
95 fi 95 fi
96 96
  97 +# Ensure database is running
  98 +sudo service postgresql start
  99 +
97 if test -e config/database.yml && test "$force_install" = 'false'; then 100 if test -e config/database.yml && test "$force_install" = 'false'; then
98 say 'Not updating existent database.yml.' 101 say 'Not updating existent database.yml.'
99 say 'If you wish to automatic reconfigure your database connection and' 102 say 'If you wish to automatic reconfigure your database connection and'