Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mrc-ide/shiny90

Shiny tool for the first 90 HIV model (https://github.com/mrc-ide/first90)
https://github.com/mrc-ide/shiny90

Last synced: 7 days ago
JSON representation

Shiny tool for the first 90 HIV model (https://github.com/mrc-ide/first90)

Awesome Lists containing this project

README

        

# shiny90
Shiny tool for the first 90 HIV model (https://github.com/mrc-ide/first90)

[![Travis-CI Build Status](https://travis-ci.com/mrc-ide/shiny90.svg?branch=master)](https://travis-ci.com/mrc-ide/shiny90)

## Prerequisites
1. Make sure you have R installed and added to your path
2. If you are on Windows you will also need Rtools to install dependencies from Github:
http://stat.sfu.ca/statgen/resources/r-tools-for-building-packages-on-windows.html

## Install dependencies
Run

```
./scripts/bootstrap.R
```

to install R dependencies.

## Run app
To run the app: `./run.R`

To run the app with an inaccurate model for quick testing:

```
SHINY90_TEST_MODE=TRUE ./run.R
```

## Tests

For unit tests:
```
./scripts/bootstrap-dev.R
./scripts/unittest
```

For Selenium tests:
```
sudo ./scripts/install_geckodriver.sh
./scripts/test
```

They should also run at https://travis-ci.com/mrc-ide/shiny90

# Sample files
Available on SharePoint [here](https://imperiallondon-my.sharepoint.com/:f:/r/personal/epidem_ic_ac_uk/Documents/UNAIDS%20Ref%20Group%20Shared%20Drive/Ref%20Group%20Meetings/Meetings%202018/first%2090%20workshop%20-%20Wisbech%20August%202018?csf=1&e=MFospr)

Or if you access to the private repo, you can get at sample files via the submodule:

```
git submodule init
git submodule update
ls sample_files
```

# Build a USB stick
**You must be on the Imperial Dide network for this to work**
```
./scripts/build_usb.sh
```