Text to describe app
I you don't have it already, install Docker. Then, move to folder you want to work in and clone this repository.
git clone https://github.com/RiskWave/sme-credit-report.git
cd sme-credit-report
ls
Note that there is a Dockerfile
which contains all the instructions to build an image of the R Shiny server and our app.
To run the app locally, we must follow these steps:
- Build the Docker image.
- Start the container.
- Open the app in the browser.
To build the image, navigate to the folder containing the Dockerfile and run the following command.
docker build -t sme-credit-report .
Wait for the build process to finish, then start the container by running the following.
docker run -d --rm -p 8000:8000 sme-credit-report
Open your web browser and go to
http://localhost:8000/report?company=1
http://localhost:8000/report?company=2
http://localhost:8000/report?company=3