Skip to content

Commit

Permalink
Fix scripts for deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
StopNGo committed Oct 5, 2022
1 parent edab17d commit c275756
Show file tree
Hide file tree
Showing 4 changed files with 1,035 additions and 1,125 deletions.
24 changes: 21 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ This boilerplate includes a simple application with:
- Theme switcher (light and dark)
- Offline detector

Live preview:
[https://react-proto.onrender.com/](https://react-proto.onrender.com/)

(due to free hosting, a cold start could be slow)

![The App](src/assets/images/app.gif)

## How to Use
Expand All @@ -104,12 +109,15 @@ This boilerplate includes a simple application with:
1. Clone this repo:

`git clone https://github.com/StopNGo/react-proto`

2. Install all packages:

`npm i`

3. Run project in a development mode:

`npm start`

4. Open your browser with the next address:

`http:https://localhost:8080/`
Expand All @@ -118,13 +126,19 @@ This boilerplate includes a simple application with:

1. Build the project (production bundle will be in the `"dist"` folder):

`npm run build`
`npm run build`

or with Webpack Bundle Analyzer report server:

`npm run build:report`

2. Run a server:

`npm run run`
`npm run run`

3. You can test the server locally:

`http:https://localhost:3000/`
`http:https://localhost:3000/`

### Static development mode with hot reload

Expand All @@ -138,6 +152,10 @@ This boilerplate includes a simple application with:

`npm run build:static`

or with Webpack Bundle Analyzer report server:

`npm run build:static:report`

### Updating packages

All packages in this project are pinned to latest versions at the time of publishing to exclude version-based conflicts and errors and to guarantee proper work of the code in this repository.
Expand Down
Loading

0 comments on commit c275756

Please sign in to comment.