Crema React
v-2
v-2
  • About Crema(CRA)
  • Product Overview
  • Folder Structure
  • Installation
    • Pre-Requisites
    • Installing Crema
  • Default Route
  • Customization
    • Template Style
    • Template Mode
    • Template and Sidebar Color
    • Tempate Direction
    • Navigation Style
    • Footer
    • Footer Type
    • Route Transition
  • Multi-Lingual Support
    • Changing Language
    • Adding New Language
  • Sidebar Menu
    • Adding New Menu
  • Route Protection
  • Loggedin User
  • Axios Setup
  • Package.json
  • GitHub Access
  • Slack Community
  • FAQ
  • Next.js
    • About Next.JS
    • Installation
    • Folder Structure
    • Route Protection
    • Deploy to server
  • Servers
    • Python
    • Mongoose
    • Laravel
Powered by GitBook
On this page

Was this helpful?

  1. Installation

Installing Crema

Last updated 5 years ago

Was this helpful?

Once you have followed the installation pre-requisite steps, 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:-

yarn

this command will automatically install the required dependencies.

2. Now, run the following command to run the project in the browser.

yarn start

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

3. To add the project to the live server, you need to make the Build of the project. Run the following command to make the Build of the project.

yarn build

After successful completion of build command, you will find following instructions on the terminal:-

The project was built assuming it is hosted at the server root. You can control this with the homepage field in your package.json. For example, add this to build it for GitHub Pages:

"homepage" : "",

The build folder is to ready be deployed. You may serve it with a static server:

yarn global add serve
serve -s build

Find out more about deployment here

In case you want to deploy on another server please change accordingly.

http://myname.github.io/myapp
https://create-react-app.dev/docs/deployment/