This project was generated with Angular CLI version 7.3.6.
- Clone the project
- npm install
- ng serve -o
Angular - Firebase
Note:
The environments folder in src folder is not pushed to origin. It contain two files:
+ src
+ environments
- environment.ts
- environment.prod.ts
Both files contain key as:
export const environment = {
production: false,
firebase: {
apiKey: "",
authDomain: "",
databaseURL: "",
projectId: "",
storageBucket: "",
messagingSenderId: ""
}
};
These files have been removed as follows:
- install python from say https://www.python.org/downloads/windows/
- in the installer tick on checkbox to set path (or set path manually to installtion directory) and install python
- use command
pip3 install git-filter-repo
- then for the file to remove in repo use:
git filter-repo --path src/environments/environment.ts--invert-paths git filter-repo --path src/environments/environment.prod.ts--invert-paths