You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
344 B
11 lines
344 B
9 years ago
|
#!/bin/bash
|
||
|
|
||
|
cp config/database.mysql.sample.yml config/database.yml
|
||
|
cp config/settings.sample.yml config/settings.yml
|
||
|
install -m 755 -o mysql -g root -d /var/run/mysqld
|
||
|
mysqld --skip-grant-tables &
|
||
|
sleep 3
|
||
|
bundle exec rake RAILS_ENV=production db:create db:schema:load
|
||
|
bundle exec rake RAILS_ENV=production assets:precompile
|
||
|
killall -9 mysqld
|