Overview
Company Shift Management Plugin for Zuri Chat.
Live URL:
- React js
- Node js
Dev Setup Instruction
- Install
Node.js, Yarn, Git
- Clone repo using
git clone https://github.com/zurichat/zc_plugin_company_shift.git
- Change directory
cd zc_plugin_company_shift
- Run local installations in different folders and start the server:
client:cd client
yarn install
yarn start
server:cd server
yarn install
yarn run dev
-
Fork the repository
-
Clone the repository
-
Open project folder in your preferred terminal & set the upstream branch:
git remote add upstream https://github.com/zurichat/zc_plugin_company_shift.git
-
Pull from upstream branch
git pull upstream dev
-
Create a new branch for the feature/chore/fix you wish to work on. eg :
git checkout -b my-feature-branch
-
To install a package, change directory into the desired project folder,
cd client or
cd server -
Run
yarn add --exact package-name
for core dependency
yarn add -D --exact package-name
for devDependency -
Make your changes and commit,
git add .
git commit -m "my wonderful magical code implementation"
-
Check for conflicts before pushing :
git pull upstream dev
If conflicts exist, please fix it before pushing -
Push changes :
git push origin my-feature-branch
-
Create a pull request to the
dev
branch. Please not the main branch