Development flow
Versions used
- Node: 12.18.0
- Yarn: 1.22.5
Get the project
Clone the repository with the following command:
git clone https://github.boschdevcloud.com/rb-ui/frontend.kit-npm.git
Install the project
Install all the packages and dependencies with the following command:
yarn
Development mode
During development mode we run on two terminals the following commands:
yarn run develop:components
yarn run develop:gatsby
You can find the files on the folder src/frontend-kit/pages and see a preview by typing on the browser http://localhost:8000/
Build mode
During build the server runs the following commands:
yarn
yarn run build:gatsby
yarn run build:components
You can find the files on the public folder and copy them into a server.