ayeshasilvia / practice-react-site

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Practice React Site

Software

Before proceeding, please ensure you have the following software installed on your computer.

  • Node
  • Yarn (optional but recommended)
  • Git command line tools

Installation

  1. Within terminal or cmd ensure you have changed directory (into the new folder that has been cloned) and install the dependencies
  cd <new-dir> 
  yarn install OR npm install
  1. Before we can build, run or deploy our app it is important to ensure that the 'webConfig.json' is configured for our environment. Please change 'siteURL' to point to either your local or live url.
    {
    "siteURL": "http://localhost:3000", ...

    OR

    {
    "siteURL": "http://mydomain.com", ... 
  1. You must build the app before you can run it
  yarn run build OR npm run build
  1. Run your build
  yarn run dev OR npm run dev

This should launch the application and start running on: http://localhost:3000/

About

License:MIT License


Languages

Language:JavaScript 62.4%Language:CSS 35.0%Language:HTML 2.6%