======= Install and set-up Linea21. The five minute way! ======= 

1) Use the lazy-loader available on our website to get the application 
     or download the latest archive and extract it into you Apache web root folder
     and make apache user, the application owner (ex : sudo chown -R www-data:www-data ./*)
     
2) Open your browser and enter the installer URL. It should be similar to 
	 http://localhost/linea21/install/install.php
	 
3) Choose the language you want, enter database set-up parameters and 
     first website informations (name, email).
     
4) You're done! Follow the given link to access tha back-office.

5) Optional : 
		- To schedule a newsletter emailing or send emails asynchronously, you must set-up a cronjob.
			this should look like : * * * * * /usr/bin/php -q /var/www/linea21/admin/cron.php token=yourSecretToken


!!! Change the admin password if you want to use linea21 in a production server !!!


======= How to upgrade from a previous version ? =======
   
1 - Backup your current webapp : by default, linea21 folder
			For versions < 1.7, be sure to backup /config/define_release.ini and /config/define_db.ini files.

2 - Backup your current database : mysqldump -hlocalhost -ulinea -plinea linea21 > /home/backup_linea21/linea21_1_date.dmp

3 - Apply the database migration patch (in /scripts_sql/patches) : 
			Versions >= 1.8 : mysql -hlocalhost -ulinea -plinea linea21 < /home/linea21/install/scripts_sql/patches/patch_1.x.mysql.sql
			Versions < 1.7 : mysql -hlocalhost -ulinea -plinea linea21 < /home/linea21/scripts_sql/patches/patch_1.x.mysql.sql
					
4 - Unzip the new version into Linea21 directory. Specify you want to overwrite old files.

5 - For versions < 1.7 only, apply specific setup to the following files :
			- config/define_release.php from the previous version to config/define_release.ini
			- config/define_db.php  from the previous version to  vers config/define_db.ini


== 1.5 to 1.6 migration ==

- Apply steps 1, 2, 3, 4, 5 described above
- For step 3 : Execute /scripts_sql/patches/patch_1.6.mysql.sql script
- Finally call /install/update.php from your web-browser

== 1.6 to 1.7 migration ==

- Apply steps 1, 2, 3, 4, 5 described above
- For step 3 : Execute /scripts_sql/patches/patch_1.7.mysql.sql script
- Finally call /install/update.php from your web-browser. This will replace the step 5 of upgrade procedure.

== 1.7 to 1.8 migration ==

- Apply steps 1, 2, 3, 4, 5 described above
- For step 3 : Execute /install/scripts_sql/patches/patch_1.8.mysql.sql script
- Finally call /install/update.php from your web-browser. This will apply required changes to your configuration file


======= Documentation and support =======

http://dev.linea21.com				Wiki - Bug tracker
http://www.linea21.com/forum		Forum
http://www.linea21.com				Website


======= UTF-8 encoding warning =======

All application files are UTF-8 encoded. To edit files, imperatively use a text-editor supporting UTF-8 format 
and save files keeping the same format.