readme.md 994 Bytes
Newer Older
1
### How to wrap up and run Moodle Server:
2

Artem Baranovskyi's avatar
Artem Baranovskyi committed
3
To use ASYST with universal BERT model based on German language just Run these commands at CLI.
4
5

~~~bash
Artem Baranovskyi's avatar
Artem Baranovskyi committed
6
docker-compose up -d --build && ./install_moodle.sh
7
~~~
8

Artem Baranovskyi's avatar
Artem Baranovskyi committed
9
Infrastructure rolls up a Brand New Moodle instance. If you already have Moodle LMS, you could use it's DB backup at this project. Just paste it at root folder and rename it to moodle_backup.sql 
Artem Baranovskyi's avatar
Artem Baranovskyi committed
10

11
12
Use these creds to access Moodle admin page
admin:rootpassword
Artem Baranovskyi's avatar
Artem Baranovskyi committed
13
These creds could be easily changed as other environmental variables at .env
14

Artem Baranovskyi's avatar
Artem Baranovskyi committed
15
16
17
18
19
## Development tips
To facilitate DB monitoring at IDE set such a Database connection URL: 
~~~bash
jdbc:mariadb://localhost:3306/moodle
~~~
20

Artem Baranovskyi's avatar
Artem Baranovskyi committed
21
22
It is suggested to use our moodle plugin to communicate with Flask-based ASYST script using such a
route http://127.0.0.1:5000/api/autograde
23
24
25
26

Now the preinstalled MOODLE LMS is available at https://www.moodle.loc

**Note**: Bind https://www.moodle.loc to your localhost at **hosts** file depending on your OS.