A simple app where the user can select, view & download a dataset.
View live app here.
- rock
- iris
- pressure
-
Clone this repo and
cd
into thefile-download/
directory.git clone [email protected]:kennedymwavu/ambiorix-htmx.git cd ambiorix-htmx/file-download/
-
Add an env file (
.Renviron
) at the root dir of the project with the following content.HOST = 127.0.0.1 PORT = 8000 RENV_CONFIG_SANDBOX_ENABLED = FALSE
You can change the values of the variables to suit your environment.
-
Fire up R and install the dependencies.
renv::restore()
index.R
is the entry point of the app. Run the following command to start the app.
Rscript index.R