You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-49Lines changed: 4 additions & 49 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,55 +7,10 @@
7
7
8
8
```
9
9
10
+
# RDepot
10
11
11
-
# R Depot User Guide
12
+
Open Source Enterprise Management of R Repositories
12
13
13
-
Currently, R Depot consists of three core components:
14
+
Learn more at https://rdepot.io
14
15
15
-
- the RDepot R repository management application (rdepot.war)
16
-
- a database component, preferably Postgres
17
-
- one or more R repositories (instances of oa-rdepot-repo.jar)
18
-
19
-
The quickest way to set up a working environment, is by using Docker (preferably on Linux).
20
-
The following prerequisites are needed:
21
-
22
-
- docker
23
-
- docker-compose (i.e. by issuing "pip install docker-compose")
24
-
- port 80 is not used (localhost, check for nginx or apache service)
25
-
26
-
Please make sure the following files are available:
27
-
28
-
- ./docker/app/rdepot.war: downloaded from https://s3-eu-west-1.amazonaws.com/oa-rdepot-build-artifacts/rdepot.war (latest development build)
29
-
- ./docker/repo/oa-rdepot-repo.jar: downloaded from https://s3-eu-west-1.amazonaws.com/oa-rdepot-build-artifacts/oa-rdepot-repo.jar (latest development build)
30
-
31
-
The final step is to launch the Docker containers using docker-compose:
32
-
33
-
- docker-compose up -d
34
-
35
-
One can then go to http://localhost to log in.
36
-
37
-
Regarding users and passwords: all passwords are "password" (without ""), because the application is connected by default to "scientists" group of the ForumSys LDAP server (http://www.forumsys.com/tutorials/integration-how-to/ldap/online-ldap-test-server/).
38
-
39
-
- user "einstein" is an administrator
40
-
- user "tesla" is a repository maintainer (but not linked to a repository, an administrator has to do that manually)
41
-
- user "galieleo" is a package maintainer (but not linked to a package, a repository maintainer or administrator has to do that manually)
42
-
- user "newton" is a regular user
43
-
44
-
To complete an end-to-end flow: R package to R Depot to Repository Server to R client, the following steps are needed:
45
-
46
-
- create a repository with (or edit)
47
-
* a repository's publication URI: http://localhost/repo/repositoryName and
48
-
* a server address: http://oa-rdepot-repo:8080/repositoryName
49
-
- submit one or more packages to that repository via the R Depot web interface
50
-
- publish the repository using the green button in the repositories view (if needed)
51
-
- go to the published package page (repositories view, click repository name, click package name)
52
-
- use the install URL shown on the published package page to install the package in R (install.packages("somePackage", repos = c("http://localhost/repo/repositoryName", getOption())))
53
-
54
-
To (re)start with fresh database:
55
-
56
-
- remove the containers via "docker-compose down -v"
57
-
- start up again using "docker-compose up -d"
58
-
59
-
Browse the [RDepot Documentation](https://www.rdepot.io/).
60
-
61
-
#### Copyright (c) Copyright of Open Analytics NV, 2010-2018 - Apache 2.0 License
0 commit comments