Skip to content

Getting Started

BhakareAbhishek edited this page Jul 15, 2024 · 15 revisions

Creating the Solution :

Setup Your Development Environment

The following tools should be installed on your development machine:

Note: Please check if you have access to Raaghu Portal with your Admin before proceeding ahead.

Install the Raaghu CLI

Raaghu CLI is a command line interface that is used to automate some common tasks for Raaghu based solutions.

You need to install the CLI using the following command:

dotnet tool install -g Waiin.Raaghu.Cli
dotnet tool install --global Waiin.Raaghu.Cli

If you've already installed, you can update it using the following command:

dotnet tool update -g Waiin.Raaghu.Cli
dotnet tool update --global Waiin.Raaghu.Cli

Creating the React Solution :

raaghu create --React

Running the Storybook:

  1. Install Node Module: Use npm run install-all to install the required Node.js modules for your project.
npm run install-all
  1. Run the Storybook: Execute npm run storybook to start the Storybook development server.
npm run storybook
  1. Build Storybook: Generate a production build of Storybook using npm run build-storybook.
npm run build-storybook
  1. Check the npm package: Build your project using npm run build, which typically compiles your code and assets for deployment.
npm run build-storybook

Running the Pages:

  1. Using a tool named "raaghu" to create
raaghu create --React
  1. Running an npm command to install dependencies
npm run install -all
  1. Running the pages using following command:
npm run pages

b1ef5ed6-dec0-45eb-93af-68017dfeab78

Clone this wiki locally