Taylohtio/IDP/instructions/ReactBuild.txt

14 lines
610 B
Plaintext

To build an react app:
(if you have installed node.js, go to point 3)
1. Go to site https://nodejs.org/en/download/
2. Download and install Node.js (LTS version)
3. Open the IDP/react/idp-ui/.env.production file
4. Change the value for the REACT_APP_WEB_URL_API string:
4.1. For production server: https://api.taloyhtio.info
4.2. For dev server: https://10.20.20.38:58273
4.3. For test Smartech server: http://10.10.108.239:58273
5. Open a terminal
6. Go to the IDP/react/idp-ui in terminal
7. Run in the terminal: npm install
8. Run in the termanal: npm run build