- Create
.env
inclient
withREACT_APP_BACKEND=some_url
npm i
npm start
docker build -t lis_fe:latest .
docker run -it -p 3000:80 -e REACT_APP_BACKEND=http://localhost:8000 lis_fe:latest
Create .env
in client
with REACT_APP_BACKEND=someurl
.
Then run with Docker Compose, by going to the docker
folder and run:
For development:
docker compose -f docker-compose.dev.yml up
For production build:
docker compose -f docker-compose.prod.yml up
Open the test suite with the following command
npx cypress open