- 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-tools
firebase login
firebase init
- To deploy a firebase project, use
firebase deploy
command. - 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 serve
andfirebase emulators:start
from 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-angular
to 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.