Quick Start
Quick start your project using Berry.
Last updated
Quick start your project using Berry.
Last updated
If you prefer reading docs, continue reading below instead watching video.
Navigate to your root folder (i.e. berry-material-react)
Install Packages by npm or yarn as per your preferences. Here we are using yarn
package manager.
After package installation, you can start your app by using yarn start
command
This will start your local server at http://localhost:3000
Also, your terminal shows the following.
This might be too early to deploy but it is always good to know how to deploy.
To build your app in production use yarn build
command
Change the base URL with your domain and build your application.
You can control this with the homepage
field in your package.json
To deploy it for subdirectory i.e http://example.com/subdirectory/
You also need to set base-name in config.js
at '../src/config/'
You’ll need to have Node v12.x.x or later on your local development machine (but it’s not required on the server). You can use nvm (macOS/Linux) or nvm-windows to easily switch Node versions between different projects.