Moodle on Cloud and Mobile App

Preview:

DESCRIPTION

Deploy Moodle on OpenShift Platform as a Service and integrate with Moodle mobile app for your smartphone and tablet

Citation preview

Moodle on Cloud & MobileAnuchit Chalothorn

anuchit@redlinesoft.net

Tools

● Git● Ruby● Putty (Windows)● Putty Agent (Windows)

OpenShift CLi

Install OpenShift command line tools

gem install rhc

Setup OpenShift Account

Setup OpenShift account

rhc setup

* Register free account with free 3 gears at http://openshift.com

Create Moodle Application - only cartridges

rhc app create moodle php-5.3

Create Moodle App

* Register free account with free 3 gears at http://openshift.com

rhc cartridge add phpmyadmin-4 -a moodle

rhc cartridge add mysql-5.1 -a moodle

rhc cartridge add cron-1.4 -a moodle

Pull Moodle from Git

Pull Moodle quick start (source code) for OpenShift from Git

cd moodle

git pull upstream master

git remote add upstream -m master https://github.com/burningTyger/openshift_moodle.git

Push Moodle source code to OpenShift

Push to OpenShift

git push origin HEAD:master

git commit -a -m “initial release”

git push

Config Moodle

Goto your app url and config your Moodle :)

http://moodle-namespace.rhcloud.com

* Change namespace match to your OpenShift configuration

Config Mobile Web Service

Go To Site Administration > Plugins > Web Service > Mobile and check at Enable web service on mobile devices

Config Moodle AppAfter launch the app, Moodle will let you to config site with following values:

● Site URL● Username● Password

Mobile App

Now you can use Moodle on your mobile/tablet devices