Set up db and env vars; rerake