Contributing
Contributing to the project
Quick Links
| Link | URL |
|---|---|
| GitHub Repo | https://github.com/bloomreach-content-marketplace/ContentSync.git |
| Production Application | https://content-tools-devapp.bloomreach.works/ |
| Test Application | https://test-bloomreach-content-ui-extension.netlify.app/ |
Installation
Clone the project from GitHub repository:
git clone https://github.com/bloomreach-content-marketplace/ContentSync.git
Change into the cloned project directory:
cd ContentSync
Install the dependencies:
yarn
Available scripts
In the project directory, you can run:
yarn dev
Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits. You will also see any lint errors in the console.
yarn build
Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes. Your app is ready to be deployed!
yarn start
Runs the built production-ready app from the build folder. You need to run yarn build before running yarn start
Developer Workflow
- Pull the latest changes from the
developbranch - Create a new branch based off the
developbranch - Make any necessary code changes
- Run
yarn buildto ensure the project builds properly - Update the
CHANGELOG.mdfile with the latest changes - Update the version number in the package.json file using correct semantic versioning
- Create a Pull Request for the
developbranch
Deploying the application
The application is hosted at Netlify. The application will be automatically deployed when code is merged into either the main or develop branches.
| Branch | Deploys to |
|---|---|
| main | https://content-tools-devapp.bloomreach.works/ |
| develop | https://test-bloomreach-content-ui-extension.netlify.app/ |