-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig-start.R
33 lines (27 loc) · 939 Bytes
/
config-start.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
colors <- c('#1f78b4', '#b2df8a', '#33a02c')
mongo.host <- 'localhost'
mongo.port <- 27017
mongo.db <- 'daacsdb'
mongo.collection.users <- 'users'
mongo.collection.assessments <- 'user_assessments'
mongo.collection.events <- 'event_containers'
mongo.user <- 'admin'
mongo.pass <- 'MONGO_PASSWORD'
daacs.domain <- 'DAACS_DOMAIN'
daacs.base.url <- paste0('https://', daacs.domain)
summary_report_url <- '/summaryreport/?userid='
report_rmd_file <- 'student_report_latex.Rmd'
tips_rmd_file <- 'tips_latex.Rmd'
# user database for logins
user_base <- tibble::tibble(
user = c("admin"),
password = purrr::map_chr(c("changeme"), sodium::password_store),
permissions = c("admin"), # admin or standard
name = c("Administrator")
)
log_files <- c(
'API' = '/usr/local/daacs/DAACS-API/nohup.out',
'Web' = '/usr/local/daacs/DAACS-Web/nohup.out',
'nginx Error' = '/var/log/nginx/error.log',
'nginx Access' = '/var/log/nginx/access.log'
)