Installation for the Next.js based template

Once you have followed the installation pre-requisite steps from here, You can follow the following steps to install and run the Crema:-

1. To run the Crema, Open the Crema folder in the editor of your choice. After following the folder, open the terminal and run the following command:-


this command will automatically install the required dependencies.

2. Now, run thenextcommand, which starts Next.js in development mode

yarn dev

This command will start the project in the browser in development mode i.e. the project will run on localhost://300X URL.

3. To runnext buildwhich builds the application for production usage.

yarn build

4. To run next startwhich starts a Next.js production server

yarn start

Last updated