Note: You are currently viewing documentation for Moodle 3.6. Up-to-date documentation for the latest stable version of Moodle is likely available here: Windows installation using Git.

Windows installation using Git: Difference between revisions

From MoodleDocs
Line 11: Line 11:


==Getting the WAMP server==
==Getting the WAMP server==
#Go to [http://www.wampserver.com/en/] and click the Download button
#Go to [http://www.wampserver.com/en/ Wampserver] and click the Download button
#You will probably need to click the button '''Wampserver (64 bits &PHP 5.3) 2.2E''' but to be sure, here is how to  [http://tips4pc.com/computer_tips_and_tricks/do_i_have_a_32bit_or_64bit_operating_system.htm check if your pc is 64 bit or 32 bit])
#You will probably need to click the button '''Wampserver (64 bits &PHP 5.3) 2.2E''' but to be sure, here is how to  [http://tips4pc.com/computer_tips_and_tricks/do_i_have_a_32bit_or_64bit_operating_system.htm check if your pc is 64 bit or 32 bit])
#You may get a warning '''You must install Visual C++ 2010 SP1 Redistributable Package x86 or x64''' - download the appropriate package for you. This may take some time.
#You may get a warning '''You must install Visual C++ 2010 SP1 Redistributable Package x86 or x64''' - download the appropriate package for you. This may take some time.
#When it is done, come back to [http://www.wampserver.com/en/] and click the Download button again.
#When it is done, come back to [http://www.wampserver.com/en/ Wampserver] and click the Download button again.
#Download, save and run the program, making sure you keep a note of where it has installed it on your computer. It will be in a folder called ''wamp.''[[File:wamplocation.png|200px|thumb|left|path to your wamp folder]] An example is in C:\wamp
#[[File:wamplocation.png|200px|thumb|left|path to your wamp folder]]Download, save and run the program, making sure you keep a note of where it has installed it on your computer. It will be in a folder called ''wamp.''
 
==Making the database==
==Making the database==
#Once  wampserver is installed you will see a '''W''' icon, either on your desktop, start menu or taskbar according to what you ticked when installing. Click it to bring up its options and then click PhpMyadmin as in Screenshot A below.
#Once  wampserver is installed you will see a '''W''' icon, either on your desktop, start menu or taskbar according to what you ticked when installing. Click it to bring up its options and then click PhpMyadmin as in Screenshot A below.

Revision as of 10:25, 21 August 2012

This page is for non-technical Windows users who would like to be able to keep a copy of Moodle on their computers that they can easily and regularly update.

NOTE: These guidelines are intended for a Standard Moodle installation on a Windows PC for a private or test Moodle installation, NOT a production (public) site or service. If you wish to install Moodle on a public site using Git then please see Git for Administrators. If you wish to contribute fixes or improvements using Git please see Development: Git for developers

What you need to install Moodle on your Windows pc

  1. somewhere on your pc to house it and keep it working,with a database to maintain its records. We will use WAMP server
  2. the Moodle files themselves. We will use Github for Windows

What is Git and why use it?

Git allows Moodlers not only to quickly download the latest versions of Moodle but also to

Git cycle

download and test out fixes by developers and to share with others their own changes which may potentially get integrated into Moodle for the benefit of everyone. In this page we are merely going to use the system to download Moodle onto our computer- (see the cycle in yellow in the screenshot)Git makes it easy for us to update Moodle when new versions come out each week, and it gives you the potential when more familiar with it to grab other changes and help test it. However, if you merely want to have Moodle on your Windows pc to practise and try things out and are NOT really interested in having all the latest changes then it might be easier for you to use the All in one Windows Installer package instead.

Getting the WAMP server

  1. Go to Wampserver and click the Download button
  2. You will probably need to click the button Wampserver (64 bits &PHP 5.3) 2.2E but to be sure, here is how to check if your pc is 64 bit or 32 bit)
  3. You may get a warning You must install Visual C++ 2010 SP1 Redistributable Package x86 or x64 - download the appropriate package for you. This may take some time.
  4. When it is done, come back to Wampserver and click the Download button again.
  5. path to your wamp folder
    Download, save and run the program, making sure you keep a note of where it has installed it on your computer. It will be in a folder called wamp.

Making the database

  1. Once wampserver is installed you will see a W icon, either on your desktop, start menu or taskbar according to what you ticked when installing. Click it to bring up its options and then click PhpMyadmin as in Screenshot A below.

Tip: You can also reach this screen by typing into your browser: http://localhost/phpmyadmin/

  1. Make sure that Server connection collation says utf8_general_ci (1 in Screenshot B below)
  2. Click "databases" - (2 in Screenshot B below)
Screenshot A
Screenshot B