Rabbit synchronizes videos between partners
- Install dependencies with
mix deps.get && npm install
- Create and migrate your database with
mix ecto.create && mix ecto.migrate
- Start Phoenix endpoint with
Now you can visit
localhost:4000/files from your browser.
Add a video of your choosing by clicking on the "New file" link on the bottom.
Urlfield refers to the url at which you wish to view the video with a partner.
For example, "example" would result in a video being streamed at "http://localhost:4000/video/example"
Locationfield refers to the location of the video file on the disk.
Content typecan be one of two strings
If you've added a video with the
Url "example", you and your partner
can go to "http://localhost:4000/video/example". If you scroll down, you'll see the
controls for Rabbit.
docker pull marvel/rabbit mkdir -p data/media
Create a configuration file
prod.secret.exs in the
docker run -p 80:4000 -v $PWD/data:/app/data marvel/rabbit