Sign inSign up

thomaslacaze/lab3

By thomaslacaze

•Updated almost 5 years ago

Image
0

484

thomaslacaze/lab3 repository overview

⁠Cloud-Integration - Lab 3

React application for other labs

ā šŸ› ļø Installation Steps

⁠🐳 Option 1: Run from Docker run
# Run the container
$ docker run \
  -v /etc/localtime:/etc/localtime:ro \
  -e "REACT_APP_BACKEND_URL=http://localhost:8080" \
  --restart always \
  --name lab3 \
  -p 3000:3000 \
  thomaslacaze/lab3
⁠🐳 Option 2: Run from Docker-compose

See here⁠

ā šŸ’» Option 3: Run from source
⁠Prerequisites
  • NodeJS, yarn.
  1. Clone the repository
git clone https://github.com/Cloud-Integration-2021/lab3.git
  1. Change the working directory
cd lab3
  1. Setup environnement variables
Environment VariableDefaultDescription
REACT_APP_BACKEND_URLhttp://localhost:8080BackendEndpoint of lab1
  1. Run the app
$ yarn install --pure-lockfile
$ yarn start

🌟 You are all set!

⁠Dockerfile

Dockerfile⁠

⁠License

MIT⁠

Tag summary

Content type

Image

Digest

Size

151.6 MB

Last updated

almost 5 years ago

docker pull thomaslacaze/lab3