Installing EasyquizzServer on a Windows server
Un article de EpistemaWiki.
Sommaire |
Installing Apache, MySQL and PHP
Install WampServer using the following URL: http://www.wampserver.com/en/download.php
You will then need to install the PHP4 addon (ADD-ON PHP4.4.x): http://www.wampserver.com/en/add-ons.php
Installing Cygwin tools
You need to download the Cygwin setup softwareat http://www.cygwin.com/ and run it.
Choose the setup folder (for example: c:\cygwin\), and then just keep the default options up until the packages selection.
You need to select the following packages: (click on the "Cur" button then on "View")
bzip2 curl gettext gettext-devel gzip tar unzip wget zip
Other packages will be automatically picked up. Continue up until the end of the setup.
Check the existence of the following executables in c:\cygwin\bin\:
rm.exe, unzip.exe, zip.exe, cp.exe, msgmerge.exe, msginit.exe, msgen.exe
Installing EasyquizzServer
You will need to create a new database first:
- Open the page http://localhost/phpmyadmin/
- Create a new database (eg: easyquizzserver).
Run the EasyquizzServer setup program, up until it opens the the installation web page (a form where you enter the database configuration, etc.) This form will write the conf.php file in the configuration folder. You will be able to change this file after the setup is complete if necessary.
Test the setup by running the following page: http://servername/admin/ (use admin / epistema as login / password)
Publishing questionnaires
Configuring an FTP server for the publication of the questionnaires
You can skip this part if you can access the server directly using Windows explorer. In such case use the "copy on the local network" method in the publication target you'll be creating further on.
This will give you a complete web environment. You will need to have an FTP server. Windows built-in FTP server is not advised, because the configuration of the FTP users is not possible at the FTP server level.
You should install FileZilla Server, which you can find at the following place: http://filezilla.sourceforge.net/ (warning: there's a client and a server, you need to download the server. On the download page, just select FileZilla Server 0.9.11)
You need to configure it so that user accounts points to the www/questionnaires/ folder.
Configuration d'Easyquizz Pro
Easyquizz Pro can publish questionnaires directly on the platform. Open Easyquizz Pro, choose the tools menu, then parameters and the publication tab.
Click on Add (a new target).
Enter the caption: Publication on EasyquizzServer
First tab: publication method
Select "copy on the local network" or "Copy via FTP" according to your setup.
Fill in the FTP parameters and enter the destination folder so that it points to the questionnaire folder on the server. (if the method is FTP and that the FTP accounts are configured so that their home folder is "questionnaires", just leave the destination folder empty).
If you use the local network method, enter the full path to the "questionnaires" folder on the network (eg: \\yourserver\theshare\questionnaires\)
The URL should be the full URL of EasyquizzServer up to the questionnaires folder, eg something like: http://yourserver/questionnaires/
Second tab: Publication format
Tick the PHP option.
Third tab: Online platform
Tick the two options: "Automatically declare the resources" and "Put the sources on the server". Enter the URL of EasyquizzServer, eg: http://yourserver/
Enter as login and password the administrative account that will own the questionnaires (for example, admin/epistema)
Note: admin and epistema is the default account on EasyquizzServer. For each author you should create an account and enter those login and password in their respective EasyquizzPro's publication target.
