Moodle

Moodle command line installer

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.0
  • Component/s: Unknown
  • Labels:
    None
  • Environment:
    any environment where PHP works
  • Affected Branches:
    MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

The moodle installation via command line. This will also support non-interactive command line scripts, when all the the required options are passed using the arguments for the installation scripts.

Activity

Hide
Dilan Anuruddha Karanachcharighe added a comment - - edited

...

Show
Dilan Anuruddha Karanachcharighe added a comment - - edited ...
Hide
Dilan Anuruddha Karanachcharighe added a comment -

Files that are touched by this project at the moment
cli-install.php – admin directory (new file)
install.php – lang/en_utf8 directory

My sourceforge username is anurudda

Show
Dilan Anuruddha Karanachcharighe added a comment - Files that are touched by this project at the moment cli-install.php – admin directory (new file) install.php – lang/en_utf8 directory My sourceforge username is anurudda
Hide
Martin Dougiamas added a comment -

Can I have a complete list of the directories/files that this project might be changing? I'll set up a MOODLE_19_CLI branch then.

Show
Martin Dougiamas added a comment - Can I have a complete list of the directories/files that this project might be changing? I'll set up a MOODLE_19_CLI branch then.
Hide
Dilan Anuruddha Karanachcharighe added a comment - - edited

These are all the files I touch at the moment

admin directory
cli-install.php

lib directory
installlib.php

lang/en_utf8 directory
install.php

moodle root directory
install.php

Show
Dilan Anuruddha Karanachcharighe added a comment - - edited These are all the files I touch at the moment admin directory cli-install.php lib directory installlib.php lang/en_utf8 directory install.php moodle root directory install.php
Hide
Martin Dougiamas added a comment -

OK, done for these files:
admin/*
lib/*
lang/en_utf8/*
install.php

So, before you go any further, you need to check the branch out like this:

cvs -q update -r MOODLE_19_CLI

to get "on" the branch ... checkins will then automatically go to that branch.

I've also given you permissions so it should all work, but let Penny know if there's any problems.

Show
Martin Dougiamas added a comment - OK, done for these files: admin/* lib/* lang/en_utf8/* install.php So, before you go any further, you need to check the branch out like this: cvs -q update -r MOODLE_19_CLI to get "on" the branch ... checkins will then automatically go to that branch. I've also given you permissions so it should all work, but let Penny know if there's any problems.
Hide
Martin Dougiamas added a comment -

Penny can you update this with the final status and links to docs etc?

Show
Martin Dougiamas added a comment - Penny can you update this with the final status and links to docs etc?
Hide
Penny Leach added a comment -

merged since about a year ago, there are not any docs currently (my fault, I should have asked my student to make some). he's going to try and add some this weekend.

Show
Penny Leach added a comment - merged since about a year ago, there are not any docs currently (my fault, I should have asked my student to make some). he's going to try and add some this weekend.
Hide
Penny Leach added a comment -

correct fix & affects versions.

Show
Penny Leach added a comment - correct fix & affects versions.
Hide
Dilan Anuruddha Karanachcharighe added a comment -

Added a small guide at http://docs.moodle.org/en/Installing_Moodle#Installing_Moodle_Using_Command_Line

Hope that will do for the moment. As I find time I'll try to update it!

Show
Dilan Anuruddha Karanachcharighe added a comment - Added a small guide at http://docs.moodle.org/en/Installing_Moodle#Installing_Moodle_Using_Command_Line Hope that will do for the moment. As I find time I'll try to update it!
Hide
Petr Škoda (skodak) added a comment -

reopening, working toward fixing of all regressions caused by my changes

Show
Petr Škoda (skodak) added a comment - reopening, working toward fixing of all regressions caused by my changes
Hide
Petr Škoda (skodak) added a comment -

reclosing, should work now again

Show
Petr Škoda (skodak) added a comment - reclosing, should work now again

Dates

  • Created:
    Updated:
    Resolved: