Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ To automate __our environment__ we wrote this bash script. It may won't work in
## Setup
1. Clone this repository.
1. Make the script executable (if not cloned): `chmod +x moodle-update`
1. Go to your web directory: `cd /var/www`
1. Rename the moodle directory to: `moodle_x.y` like `moodle_4.01`
1. Create a link to this directory with the absolute path: `ln -s /var/www/moodle_4.01 moodle`
1. Tell your web server to serve `/var/www/moodle`.


### Config
Expand All @@ -14,9 +18,9 @@ The script creates a `settings.conf` file for a standard Debian/Ubuntu Linux.


## Usage options
- Without any parameter: `./update-moodle`
- With new version: `./update-moodle 3.9`
- With new version + explicit download file: `./update-moodle 3.9 https://example.com/moodle-3.9.21.zip`
- Without any parameter: `./moodle-update`
- With new version: `./moodle-update 3.9`
- With new version + explicit download file: `./moodle-update 3.9 https://example.com/moodle-3.9.21.zip`


### Important information for Moodle 4
Expand Down