Google Cloud Platform Quasar SSR with Firebase
After having installed all Firebase dependencies on your machine (firebase-tool), call the following command to initialize a firebase project:
firebase init hosting
If your project is not already using a git, initialize a git repository with git init
, add all file changes git add .
and commit everything git commit
. Then initialize a github repo with firebase command:
firebase init hosting:github
It will asks you for setting up the project, use all by default.
If you have no .env
file at the moment, create a new copy of .env
file from .env.example
and fill it out afterwards:
cp .env.example .env
Then edit the .env
file with correct values.
yarn install
yarn dev:ssr
yarn build:ssr