set up environment,connected Laravel to DB, installed pre