A sample offline streaming video PWA built for web.dev/media
Перейти к файлу
Jaroslav Polakovič 66580c5245 Merge remote-tracking branch 'origin/develop' into add/css-imports 2021-03-24 06:31:34 +01:00
.github Rename lint step 2021-03-10 00:16:59 -08:00
public Add a m3u8 fallback source of streaming video for iOS. 2021-03-23 10:09:33 +01:00
src Merge remote-tracking branch 'origin/develop' into add/css-imports 2021-03-24 06:31:34 +01:00
.babelrc Add .browserslistrc and refactor code to work in target browsers. 2021-02-11 17:38:16 +01:00
.browserslistrc Add .browserslistrc and refactor code to work in target browsers. 2021-02-11 17:38:16 +01:00
.editorconfig Transfer the internal PoC to public repo. Cleanup code style. 2021-02-05 16:30:23 +01:00
.eslintrc.json Merge branch 'develop' into update/undo-removals 2021-03-17 09:26:44 +01:00
.gitignore Squashed commit of the following: 2021-03-09 17:54:47 +01:00
.nvmrc Apply some comments 2021-02-23 14:53:52 +01:00
CODE_OF_CONDUCT.md Add initial docs & templates 2021-02-02 17:44:26 -08:00
CONTRIBUTING.md Add initial docs & templates 2021-02-02 17:44:26 -08:00
ENGINEERING.md Add initial docs & templates 2021-02-02 17:44:26 -08:00
LICENSE Initial commit 2021-01-27 00:15:23 -08:00
README.md Update docs for continuity 2021-02-08 16:26:28 -08:00
SECURITY.md Add initial docs & templates 2021-02-02 17:44:26 -08:00
firebase.json More UI and connected Router 2021-02-22 17:21:20 +01:00
package-lock.json CSS imports. Restructure components. Rename modules. 2021-03-23 11:00:45 +01:00
package.json CSS imports. Restructure components. Rename modules. 2021-03-23 11:00:45 +01:00
rollup.config.js CSS imports. Restructure components. Rename modules. 2021-03-23 11:00:45 +01:00

README.md

Please note: This app is being developed. There may be bugs, and everything is subject to change.

App Name @todo

Description @todo

Running the site locally

Start by creating a new project from the Firebase Console and then setup the Firebase CLI with NPM.

Important: This project uses a local Firebase emulator, which mean you need to install the Firebase CLI globally.

npm install -g firebase-tools

Clone this repository:

git clone git@github.com:xwp/web-dev-media.git

Go to the project folder:

cd web-dev-media

Login to Firebase:

firebase login

Initialize Firebase:

firebase init

Install the dependencies:

npm install

Build the assets:

npm run build

Note: This project uses Rollup to build the JavaScript assets. No transpilation is currently being done, the tooling exists mainly to resolve ES Modules in the Service Worker.

You can also have Rollup watch for changes in the /src directory and rebuild them on the fly.

Watch and build the assets:

npm run watch

Finally, start the Firebase emulator:

npm start