This repository has been archived on 2021-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
rserve-sandbox-bin/README.md

57 lines
1.4 KiB
Markdown
Raw Normal View History

2017-02-08 13:57:35 +01:00
# rserve-sandbox-bin
A precompiled version of `rserve-sandbox`.
## NOTE
2017-02-08 16:07:57 +01:00
The Makefile in this branch is not intendended to be run manually.
Post
2017-02-08 13:57:35 +01:00
[installation](https://frnmst.github.io/swish-installer/swish-installer.html#Install-actions)
and
[remove](https://frnmst.github.io/swish-installer/swish-installer.html#Remove-actions)
hooks are needed before you can actually run this.
## What is this about
This is an alternative method to install
[rserve-sandbox](https://github.com/frnmst/rserve-sandbox)
The advantage of using this method is that no building or dependency
downloading is required, meaning that there is supposedly no risk of failure
during the setup phase. The download time is however much longer.
This image was obtained with
$ sudo -u rsd docker save rserve > rserve.tar
using the [AUR package](https://aur.archlinux.org/packages/rserve-sandbox-docker)
of `rserve-sandbox`.
## Installation
You need to install and enable the Docker service.
### Makefile targets
- `load`
- Loads the Docker image `rserve` available in this repository.
2017-02-08 16:07:57 +01:00
- `remove`
- Removes the current image.
2017-02-08 13:57:35 +01:00
- `run`
- Starts the Rserve container. This creates a Unix domain
socket `/home/rserve/socket` that allows contacting
the R server.
2017-02-08 16:07:57 +01:00
- `stop`
- Stops and removes the current container.
2017-02-08 13:57:35 +01:00
## License
Copyright (c) 2017, Franco Masotti.
2-Clause BSD (aka FreeBSD).
2017-02-08 16:07:57 +01:00