Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 652 Bytes

README.md

File metadata and controls

9 lines (7 loc) · 652 Bytes

React client for unitube lataamo

Local installation and running with a local proxy

Client uses REACT_APP_LATAAMO_PROXY_SERVER environment variable. For local development it is set in the env.development.local file. For this to work you need to have unitube-lataamo-proxy running locally.

  • Create env.development.local file to the project root with REACT_APP_LATAAMO_PROXY_SERVER variable to the local proxy
    echo "REACT_APP_LATAAMO_PROXY_SERVER=http://localhost:3000" > .env.development.local
  • Install dependencies and start the react app
    npm install && npm start