Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mrc-ide/hiv-orderly-web

Orderly web configuration for hiv-orderly
https://github.com/mrc-ide/hiv-orderly-web

Last synced: 25 days ago
JSON representation

Orderly web configuration for hiv-orderly

Awesome Lists containing this project

README

        

## hiv-orderly OrderlyWeb configuration

For additional orderly documentation specific to the HIV deployment please see [the wiki](https://github.com/mrc-ide/hiv-docs/wiki/Orderly) this contains information about sharepoint, and OW including how to update a package on the OW server.

### Prerequisites

First, install the deploy tool

```
pip3 install --user orderly-web
```

Ensure that the path that the script is copied into is in your path (on Linux, most likely `~/.local/bin`, on OSX `~/Library/Python//bin`

### Start

```
./start (all | ..)
```

To start all instances

```
./start all
```

To start a specific instance

```
./start naomi
```

Notes
* The name needs to match the dir name in this repo, so for inference data it is `inference_data`
* The `naomi` instance starts the proxy which proxies all other instances at `hiv-orderly.dide.ic.ac.uk/`. When other instances are brought up we connect them to the proxy, because of this if you restart the `naomi` instance you must restart all other instances so they can connect to the new proxy.

### Stop

```
./stop (all | ...)
```

### Upgrading

```
./stop (all | ..)
./start (all | ..)
```

Note that if you restart the `naomi` instance all other instances need to be restarted so they can be added to the proxy configuration.

### Install a package

```
./orderly_install 'command'
```

e.g.

```
./orderly_install fertility "install.packages(\"dplyr\")"
```

### Start an R session in the orderly container

```
./orderly_r
```

You can use this to then run things like `orderly_pull_dependencies` or `orderly_pull_archive`