Landing Template - Documentation
Follow the guide on preparing a Firebase project for Firelayer
# Setting up Firebase - Guide
# Content
# Landing Page apps/landing
- Sign In, register, verify email and reset password
- User Dashboard
- Localization
- Vue with Nuxt & Vuetify Components
# Installing
firelayer init myproject -t landing
# or add to an existing Firelayer project
firelayer add:template landing
Don't forget to verify hosting properties in firebase.json
and targets on .firebaserc
after adding a template. More on firebase hosting targets here
# Install dependencies
yarn bootstrap
or for NPM npm run bootstrap
# Developing
To start run yarn dev
or npm run dev
and the three applications should be ready on:
- Landing - localhost:8080
(ports may change if already in use by other services)
You can run each separately by running:
yarn dev:landing
ornpm run dev:landing
# Deploying
# Deploy Hosting and Cloud Functions
To deploy all applications and hosting run:
yarn deploy
# or if you use NPM
npm run deploy
You can run each separately by running:
yarn deploy:landing
ornpm run deploy:landing
# Deploy Cloud Functions Environment Variables
To deploy cloud functions environment variables run:
firelayer deploy:env
# Maintenance
Step needed: Getting Started - Get the Firebase Service Account key so your Cloud Functions and Firelayer CLI helpers can work locally.
To put the Users dashboard on maintenance mode:
firelayer down
To get out of maintenance mode:
firelayer up