Skip to content

GreyFoxDev/rinzoReact

Repository files navigation

Rinzo web-app

Build

This project was bootstrapped with Create React App.

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Building and running

All commands must be run in the project directory, unless otherwise specified.

Using locally installed node and yarn

Prerequisites

Install packages

yarn install

You can run the project by either through yarn or npm, depending on which package manager you prefer. The command will be written like yarn || npm start:env where env can be dev, staging or prod.

Run in development mode

yarn start || yarn start:dev || npm start || npm start:dev

Run in staging mode

yarn start:staging || npm start:staging

Run in production mode

yarn start:prod || npm start:prod

Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits. You will also see any lint errors in the console.

Run tests

Launch the test runner in the interactive watch mode:

yarn test

See the section about running tests for more information.

Build for production

Build the app for production to the build folder:

yarn build

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 now ready to be deployed.

See the section about deployment for more information.

Update Yarn

Update Yarn to the latest stable version:

yarn set version stable

Using Docker (on Linux)

Prerequisites

Install node modules

make install

Run in development mode

make start

Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits. You will also see any lint errors in the console.

Run tests

Launch the test runner in the interactive watch mode:

make test

Build for production

Build the app for production to the build folder:

make build

Update Yarn

Update Yarn to the latest stable version:

make update-yarn

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages