Distra
The video sharing service for the 21st century.
Run locally
To run Distra locally, you clone the repository first:
git clone https://github.com/distralive/distra-next
# or if you use ssh
git clone git@github.com:distralive/distra-next
# or if you use GitHub's cli
gh repo clone distralive/distra-next
Then, cd into the cloned repo then install dependencies:
cd distra-next && pnpm i # Distra uses pnpm, if you don't have it, enable it by running `corepack enable pnpm`
Copy the .env.example file to .env:
cp .env.example .env
then edit the values in the .env file. It already has guides on what values you should put, except for the database.
For the database, you can create a MySQL database on your computer/VPS, or use any of the other options:
- PlanetScale
- Amazon RDS for MySQL
- or something else 🙂
note: I’m not sponsored by anyone to recommend these
After that, simply run a development server by running:
pnpm dev