Quick Start

Quick start your project using Datta Able.

Installation

Navigate to your root folder (i.e. datta-able-react-hook-reactstrap-js/full-version)

c:\>cd datta-able-react-hook-reactstrap-js/full-version

Install Packages by npm as per your preferences. Here we are using a package manager.

c:\datta-able-react-hook-reactstrap-js> npm i --legacy-peer-deps

If you are using npm, please use npm i --legacy-peer-deps

Start

After package installation, you can start your app by using npm start command

c:\datta-able-react-hook-reactstrap-js> npm start

This will start your local server at http://localhost:3000 Also, your terminal shows the following.

Compiled successfully!

You can now view datta-able-react-hook-reactstrap-js in the browser.

Local:            http://localhost:3000    
On Your Network:  http://192.168.29.77:3000

Note that the development build is not optimized.
To create a production build, use npm run build.

Build & Deploy

This might be too early to deploy but it is always good to know how to deploy.

To build your app in production use npm run build command

c:\datta-able-react-hook-reactstrap-js> yarn build
or
c:\datta-able-react-hook-reactstrap-js> npm run build

Deploy for your live site

Change the base URL with your domain and build your application.

You can control this with the homepage field in your package.json

package.json
"homepage": "http://example.com"

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.

Last updated