2022-01-08 03:22:05 +08:00
|
|
|
Learning Analytics Dashboard will be accessible through https://yourdomain/learning-analytics-dashboard
|
2021-08-25 22:38:35 +08:00
|
|
|
|
|
|
|
# Dev Instructions
|
|
|
|
|
|
|
|
## Prepare destination directory
|
2022-01-08 03:22:05 +08:00
|
|
|
|
2021-08-25 22:38:35 +08:00
|
|
|
```
|
2023-01-05 19:49:38 +08:00
|
|
|
mkdir -p /var/bigbluebutton/learning-dashboard
|
2021-08-25 22:38:35 +08:00
|
|
|
chown bigbluebutton /var/bigbluebutton/learning-dashboard/
|
|
|
|
```
|
|
|
|
|
|
|
|
## Build instructions
|
2022-01-08 03:22:05 +08:00
|
|
|
|
2021-08-25 22:38:35 +08:00
|
|
|
```
|
2023-01-05 19:49:38 +08:00
|
|
|
# verify we are in the bbb-learning-dashboard directory ~/src/bbb-learning-dashboard
|
|
|
|
pwd
|
|
|
|
|
|
|
|
if [ -d node_modules ]; then rm -r node_modules; fi
|
2021-08-25 22:38:35 +08:00
|
|
|
npm install
|
|
|
|
npm run build
|
|
|
|
cp -r build/* /var/bigbluebutton/learning-dashboard
|
|
|
|
```
|
|
|
|
|
|
|
|
## Update nginx config
|
2022-01-08 03:22:05 +08:00
|
|
|
|
2021-08-25 22:38:35 +08:00
|
|
|
```
|
2023-01-05 19:49:38 +08:00
|
|
|
cp learning-dashboard.nginx /usr/share/bigbluebutton/nginx/
|
2021-08-25 22:38:35 +08:00
|
|
|
```
|