GIPel installation procedure

To begin, you need a server.
If you do not have a web hosting, you can still install GIPel on your own computer, using a local server like WampServer on Windows, or XAMPP on Linux.

#1# Database creation

Creating your database

 

Using phpMyAdmin, you must create your database manually. Give it the name which suits you and do not forget to select utf8_general_ci from the dropdown « Collation » list.
If your provider requires you the name, make sure your database is in utf8_general_ci collation : for that, you must go to the « Operations » tab of phpMyAdmin.

#2# GIPel pack download and files/folders extraction

Your tree view

 

Download the latest GIPel pack from this page.
Unzip the package into the root folder of the site on which you will run the application.
Consider for example : localhost/applis/gipel/ or www.your-site.eu
You will get a similar tree in figure 2.
The GIPel implementation takes place in the « application » folder and draws its resources from the « resource » folder. The « system » folder contains the CodeIgniter framework. Where the « upload » folder, it hosts all the images you will upload to illustrate your recordings.

#3# Edit and modify configuration files (1)

Before going further, you need to edit configuration files below and change the variables according to your own configuration : base url, language, default settings for connecting to your database.
Some variables must be initialized as shown below so that the installation script can work.

File ./application/config/config.php

$config['base_url'] = 'http://www.your-site.eu';
$config['language'] = 'english';
........................

// Session Variables
........................
$config['sess_use_database'] = FALSE; --- ((for installation only))

 

File ./application/config/database.php

$db['default']['hostname'] = 'localhost';
$db['default']['username'] = 'root';
$db['default']['password'] = '******';
$db['default']['database'] = 'gipel';

 

File ./application/config/autoload.php

$autoload['libraries'] = array('session'); --- ((for installation only))

#4# Launching the installation script

Now you can run the three steps installation script.
To do this, enter the following URL in the address bar of your browser :
www.your-site.eu/index.php/install/
or :
localhost/applis/gipel/index.php/install/
and follow the instructions. The script will automatically install the tables of the database and create your administrator account. Be carefull when choosing your ID and password.

Installation : phase 1
Installation : phase 2
Installation : phase 3

#5# Edit and modify configuration files (2)

Before you start using GIPel, it's time to give these two variables : $autoload['libraries'] and $config['sess_use_database'], their final value as shown below :

File ./application/config/config.php

........................
// Session Variables
........................
$config['sess_use_database'] = TRUE;

 

File ./application/config/autoload.php

$autoload['libraries'] = array('database', 'session', 'control');

#6# Completing the installation

Editing my account

Here it is : you have reached the end of your sentences.
Start your application by entering its URL in your browser:
www.your-site.eu
or
localhost/applis/gipel/
and identify yourself.
By clicking on your username at the top right, you can complete your personal information.

You can delete the following files/folders :

  • ./application/controllers/install.php (installation controller)
  • ./application/views/install/ (installation views)
  • sql file located in the root : gipel1311.sql

CE on october 31th 2013

Feel free to contact me