kino/README.md

50 строки
1.1 KiB
Markdown
Исходник Обычный вид История

2021-01-27 11:53:13 +03:00
**Please note: This app is being developed. There may be bugs, and everything is subject to change.**
2021-05-30 04:20:30 +03:00
# Kino
2021-01-27 11:53:13 +03:00
Description @todo
## Running the site locally
2021-02-09 03:26:28 +03:00
Start by creating a new project from the [Firebase Console](https://console.firebase.google.com/) and then setup the Firebase CLI with NPM.
2021-01-27 12:34:41 +03:00
**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:
2021-01-27 11:53:13 +03:00
git clone git@github.com:xwp/web-dev-media.git
2021-01-27 12:34:41 +03:00
Go to the project folder:
2021-01-27 11:53:13 +03:00
2021-01-27 12:34:41 +03:00
cd web-dev-media
2021-01-27 11:53:13 +03:00
2021-01-27 12:34:41 +03:00
Login to Firebase:
2021-01-27 11:53:13 +03:00
2021-01-27 12:34:41 +03:00
firebase login
Initialize Firebase:
firebase init
Install the dependencies:
npm install
2021-02-09 03:26:28 +03:00
Build the assets:
2021-01-27 12:34:41 +03:00
2021-02-09 03:26:28 +03:00
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.
2021-02-09 03:26:28 +03:00
Watch and build the assets:
2021-02-09 03:26:28 +03:00
npm run watch
2021-02-09 03:26:28 +03:00
Finally, start the Firebase emulator:
npm start