Web application built on Svelte.js and Firebase for watching movies together on different devices.
watchtogether.online.mp4
- Setup Firebase project
- Create Firebase Realtime database: https://console.firebase.google.com
- Copy Firebase project cofiguration
- Copy firebase config values to .env file
- Copy service account key to
FIREBASE_SERVICE_ACCOUNT_KEY
repository secret
- Setup Firebase Realtime database rules:
{ "rules": { "room": { "$room_id": { ".read": true, ".write": true } }, "$other": { ".read": false, ".write": false } } }
- Add domain where you're going to host the website to "Authorized Domains" section of "Authentication"
- (optional) Setup Google Analytics (should be created with Firebase)
- Copy Google Analytics meashurement ID to .env file
- (optional) Setup Sentry account and create Svelte project
- Copy Sentry DSN value to .env file
- Create
ENV_FILE_CONTENT
repository variable and copy content of filled by you .env file in it
- Install docker
- Install dependencies:
make dev_install
Now you can run the dev server locally:
make dev_serve
make prod_build_bundle
- Each push to
master
triggers deployment to production - Every 1 day of a month, teams last updated more than 31 days ago are deleted
- Make sure that
ENV_FILE_CONTENT
repository variable is filled