Editing User:Ranjithraj/installers/moodle
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
* Create a project | * Create a project | ||
composer create-project moodle/moodle:^'version.number' moodle-demo | sudo composer create-project moodle/moodle:^'version.number' moodle-demo | ||
* Once installed, go to moodle root directory | * Once installed, go to moodle root directory | ||
composer update --with-all-dependencies | composer update --with-all-dependencies | ||
== | == Possible errors == | ||
=== Environment Setup === | === Environment Setup === | ||
# PHP Dependencies | # PHP Dependencies | ||
sudo apt install php-zip php-intl | sudo apt install php-zip php-intl | ||
=== Permissions === | === Permissions === | ||
# Parent directory (/var/www) is not writeable. Data directory (/var/www/moodledata) cannot be created by the installer | # Parent directory (/var/www) is not writeable. Data directory (/var/www/moodledata) cannot be created by the installer | ||
* Manually create 'moodledata' folder | * Manually create 'moodledata' folder |