Skip to content

Latest commit

 

History

History
45 lines (38 loc) · 715 Bytes

README.md

File metadata and controls

45 lines (38 loc) · 715 Bytes

Sunsets web client

Get started

Install dependencies

# If you are using npm
npm install
# or yarn
yarn

Development

# If you are using npm
npm start
# or yarn
yarn start

Development with own server

For local development you can path any api host with REACT_APP_API_HOST env variable

REACT_APP_API_HOST=http://localhost:8000 npm start

Also you can use

npm run local
# will be translated to REACT_APP_API_HOST=http://localhost:8000 npm start

Same work for build stage

REACT_APP_API_HOST=http://localhost:8000 npm run build

Build

# If you are using npm
npm run build
# or yarn
yarn build

You will find artifacts in build folder