This project was bootstrapped with Create React App.
Rename the .env.sample
file to .env
and update it accordingly.
In the project directory, you can run:
Runs the app in the development mode.
- Install dependencies
yarn
- Start the app
yarn start
Open http://localhost:3000 to view it in the browser.
- From the root directory, run
docker-compose up --abort-on-container-exit --build
- Open http://localhost:4000 to view it in the browser.
- Build docker image:
docker build . -t DOCKER_IMAGE_NAME
- Run it
docker run -p 8080:80 DOCKER_IMAGE_NAME
Open http://localhost:8080 to view it in the browser.
yarn test
Builds the app for production to the build
folder.