Added instructions to install from PPA v0.2
authorFrederic Massart <fred@moodle.com>
Thu, 6 Dec 2012 04:42:02 +0000 (12:42 +0800)
committerFrederic Massart <fred@moodle.com>
Thu, 6 Dec 2012 04:42:02 +0000 (12:42 +0800)
README.md
scripts/README.md

index 3e303c5..636ac85 100644 (file)
--- a/README.md
+++ b/README.md
@@ -25,10 +25,23 @@ Get some help on a command using:
 Installation
 ============
 
-Debian/Ubuntu package
----------------------
+Ubuntu package
+--------------
 
+    sudo apt-add-repository ppa:2x1cq-fred-7nqa6/ppa
+    sudo apt-get update
+    sudo apt-get install moodle-sdk
+    # Most settings are probably good as they are, just configure your remote and database engines.
+    sudo mdk init
+    # The next line prevents your from logging out and in again.
+    sudo su `whoami`
+
+You're done! Try the following command to create a typical Stable Master instance (this will take some time because the cache is still empty):
+
+    mdk create
+    mdk list
 
+Now you should be able to access it from http://moodle-sdk/stable_master.
 
 Manual installation
 -------------------
index 921de28..39ebc05 100644 (file)
@@ -16,7 +16,7 @@ Directories
 -----------
 
 The scripts are looked for in each of the following directories until found:
-- <Setting dirs.moodle>/scripts
+- (Setting dirs.moodle)/scripts
 - ~/.moodle-sdk/scripts
 - /etc/moodle-sdk/scripts
 - /path/to/moodle-sdk/scripts
\ No newline at end of file