- Fork the Worktez repository.
- Clone the forked repository:
git clone <your forked repository> - Set Upstream:
git remote add upstream <Original Repository> - Check the upstream:
git remote -v - Run command
npm install. - Install latest Angular:
npm install -g @angular/cli - Install firebase using the following commands
npm install -g firebase-toolsfirebase loginfirebase init
- To deploy a firebase project, use
firebase deploycommand. - Create a branch:
git branch <your branch name> - Check out the new branch to make changes:
git checkout <your branch name> - Go to /environments
- Enter the Firebase key in environment.ts file and project Id in .firebaserc file.
- Run
ng serveandfirebase emulators:startfrom Visual Studio Code terminal. - Login to worktrolly-ui using google auto-generated credentials.
- Click the button “auto setup”.
- Type the team Id in the "SelectedTeamId" column and go back to worktez to view the website in emulator mode.
- Commit the changes:
git commit -a - Push the committed changes:
git push --set-upstream origin <your branch name> - Raise a pull request to Upstream dev-angular branch
- Pull all new changes from dev-angular using:
git pull upstream dev-angularto the new branch to contribute again.
The localhost and auto-setup button can be accessed only if the emulator is running parallelly throughout the process.