set up database and gems
run layout:install and add setting for generators