change database to postgres, added precompiled assets