Skip to content

Cloud-Integration-2021/lab3

Repository files navigation

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 Variable Default Description
REACT_APP_BACKEND_URL http://localhost:8080 BackendEndpoint of lab1
  1. Run the app
$ yarn install --pure-lockfile
$ yarn start

🌟 You are all set!

Dockerfile

Dockerfile

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published