Posts

Showing posts with the label SSR

Deploying Angular 8 Universal App to Firebase with CircleCI (Part 2)

Image
This is the continuation of Deploying Angular 8 Universal App to Firebase with CircleCI (Part 1) Step 5 : Register on CircleCI It’s time to Sign up on CircleCI. 1.Go to circleci.com/dashboard 2.Click Set Up Project on SampleApp. 3.Now Choose Linux as Operating System and Node as Language. 4.Then click on Start Building. Step 6 : Add Firebase Token to CircleCI Since we want to deploy to Firebase from CircleCI, we need a Firebase token which will be used by CircleCI to authenticate to Firebase. Open CMD in our project folder and type the following command firebase login:ci This will open browser and you have to authorize Firebase CLI there again. After you authorize Firebase CLI, you will see a token in CMD. Copy the token. Now follow below steps to set the token as an environment variable in CircleCI. 1.Go to circleci.com/dashboard and click on the gear icon in SampleApp. 2.Navigate to Environment Variables tab and cli...

Deploying Angular 8 Universal App to Firebase with CircleCI (Part 1)

Image
This is the first part of a tutorial which will teach you how to Deploy an Angular Universal App to Firebase via CircleCI. Here's a small introduction of things I mentioned here. Angular Angular is a TypeScript based open source web application framework led by the Angular Team at Google. Angular Universal Angular Universal is a server side rendering solution for Angular applications for SEO purposes. Firebase Firebase is a mobile and web application development platform developed by Firebase Inc in 2011, then acquired by Google in 2014. CircleCI CircleCI is a platform which provides continuous integration of code from multiple developers. Before you start These are the prerequisites. An Editor ( VS Code  is recommended). Download & Install  NodeJS . Install Angular CLI globally. Sign up on  Github . Install and configure a Github client to run git commands. Sign up on  CircleCI . To Install Angular CLI, run the f...