Skip to content

Commit

Permalink
edit readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjelveh committed Nov 18, 2021
1 parent 565cfc2 commit 9895ee2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
@@ -1,24 +1,24 @@
# Reason react starter
# reason-react-boilerplate

## Run Project

```sh
npm install
npm start
yarn
yarn start
# in another tab
npm run server
yarn run server
```

View the app in the browser at http://localhost:8000. Running in this environment provides hot reloading and support for routing; just edit and save the file and the browser will automatically refresh.

To use a port other than 8000 set the `PORT` environment variable (`PORT=8080 npm run server`).
To use a port other than 8000 set the `PORT` environment variable (`PORT=8080 yarn run server`).

## Build for Production

```sh
npm run clean
npm run build
npm run webpack:production
yarn run clean
yarn run build
yarn run webpack:production
```

This will replace the development artifact `build/Index.js` for an optimized version as well as copy `src/index.html` into `build/`. You can then deploy the contents of the `build` directory (`index.html` and `Index.js`).
Expand Down

0 comments on commit 9895ee2

Please sign in to comment.