<?xml version="1.0" encoding="UTF-8"?><oembed><type>video</type><version>1.0</version><html>&lt;iframe src=&quot;https://www.loom.com/embed/fc919520089c4e0abb2c0a02b68bbd91&quot; frameborder=&quot;0&quot; width=&quot;2220&quot; height=&quot;1665&quot; webkitallowfullscreen mozallowfullscreen allowfullscreen&gt;&lt;/iframe&gt;</html><height>1665</height><width>2220</width><provider_name>Loom</provider_name><provider_url>https://www.loom.com</provider_url><thumbnail_height>1665</thumbnail_height><thumbnail_width>2220</thumbnail_width><thumbnail_url>https://cdn.loom.com/sessions/thumbnails/fc919520089c4e0abb2c0a02b68bbd91-1714501209110.gif</thumbnail_url><duration>549.267</duration><title>Rideshare DB setup. Common issues running db/setup.sh</title><description>In this video: we assume you&apos;ve already prepared your development machine with Ruby, PostgreSQL, and other dependencies of Rideshare, and it&apos;s ready to go. You&apos;re ready to connect it to PostgreSQL, but haven&apos;t yet created the database users, privileges, databases, schema, or data. That part is what this video covers!
https://github.com/andyatkinson/rideshare

In this video: we look at setting up the database for Rideshare: https://github.com/andyatkinson/rideshare

- We run &quot;sh db/setup.sh&quot;
- We need two environment variables to be set. This video walks through how to set those.
- Command output can be captured in a file for review. Check the file for errors.
- Once those variables are set, run &quot;sh db/setup.sh&quot; to set up the databases.

Once that&apos;s done, you&apos;re ready to run migrations, load data, and more.

Replace &quot;vim&quot; in commands with the code editor you prefer.

Thanks for watching!</description></oembed>