kino/README.md

1.1 KiB

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 Firebase project from the console and then setup the Firebase CLI.

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

Start the Firebase emulator:

npm start

Build process

Project uses Rollup to build the main application JS file and the Service Worker file. No transpilation is done, the tooling exists mostly just to resolve ES Modules in the Service Worker context. Usage:

  • npm run build: Build the /public/js/index.js and /public/sw.js files.
  • npm run watch: Watch for changes to files in /src and rebuild files as necessary on the fly.