Skip to content

Latest commit

 

History

History
114 lines (80 loc) · 2.7 KB

README.md

File metadata and controls

114 lines (80 loc) · 2.7 KB

Odds App

This project was bootstrapped with Create React App.

Windows Installation

Download and Install

  1. Download Node.js: Visit the Node.js official website (https://nodejs.org/) and download the Windows Installer (.msi). Choose either the 32-bit or 64-bit version, depending on your system.
  2. Run the Installer: Execute the downloaded .msi file and follow the on-screen instructions to install Node.js and npm.

Verify the Installation

  1. Open Command Prompt or PowerShell.
  2. Run the following commands to check the installed versions: node -v npm -v

macOS Installation

Using Homebrew

  1. Install Homebrew (if not already installed):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  1. Install Node.js and npm:
brew install node

Verify the Installation

  1. Open the Terminal.
  2. Run the following commands to check the installed versions:
node -v
npm -v

Linux (Ubuntu/Debian) Installation

Using a Package Manager

  1. Update Package Manager:
sudo apt update
  1. Install Node.js:
sudo apt install nodejs
  1. Install npm:
sudo apt install npm

Verify the Installation

Run the following commands in the terminal to check the installed versions:

node -v
npm -v

General Tips

Restart your terminal after installation to ensure the changes take effect. The commands for Linux installations may vary slightly based on the distribution. Keep your operating system up to date to avoid compatibility issues.

Instructions

First make sure npm modules are installed correctly. Run:

npm install

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment