Skip to content

Latest commit

 

History

History

file-download

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

File download

A simple app where the user can select, view & download a dataset.

View live app here.

Exhibits

  • rock

rock dataset

  • iris

iris dataset

  • pressure

pressure dataset

Installation

  1. Clone this repo and cd into the file-download/ directory.

    git clone [email protected]:kennedymwavu/ambiorix-htmx.git
    cd ambiorix-htmx/file-download/
  2. 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.

  3. Fire up R and install the dependencies.

    renv::restore()

Start app

index.R is the entry point of the app. Run the following command to start the app.

Rscript index.R