{"type":"video","version":"1.0","html":"<iframe src=\"https://www.loom.com/embed/fc919520089c4e0abb2c0a02b68bbd91\" frameborder=\"0\" width=\"2220\" height=\"1665\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>","height":1665,"width":2220,"provider_name":"Loom","provider_url":"https://www.loom.com","thumbnail_height":1665,"thumbnail_width":2220,"thumbnail_url":"https://cdn.loom.com/sessions/thumbnails/fc919520089c4e0abb2c0a02b68bbd91-1714501209110.gif","duration":549.267,"title":"Rideshare DB setup. Common issues running db/setup.sh","description":"In this video: we assume you've already prepared your development machine with Ruby, PostgreSQL, and other dependencies of Rideshare, and it's ready to go. You're ready to connect it to PostgreSQL, but haven't yet created the database users, privileges, databases, schema, or data. That part is what this video covers!\nhttps://github.com/andyatkinson/rideshare\n\nIn this video: we look at setting up the database for Rideshare: https://github.com/andyatkinson/rideshare\n\n- We run \"sh db/setup.sh\"\n- We need two environment variables to be set. This video walks through how to set those.\n- Command output can be captured in a file for review. Check the file for errors.\n- Once those variables are set, run \"sh db/setup.sh\" to set up the databases.\n\nOnce that's done, you're ready to run migrations, load data, and more.\n\nReplace \"vim\" in commands with the code editor you prefer.\n\nThanks for watching!"}