From 145f50402e8e3f8b0527207538c3f7a483e5a974 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicolas=20L=C5=93uillet?= Date: Wed, 7 Aug 2013 19:31:11 +0200 Subject: [PATCH] installation instructions --- INSTALL.md | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index bbac44ba..fd34f695 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -19,6 +19,20 @@ poche must have write access on assets, cache and db directories. [PHP cURL](http://www.php.net/manual/en/book.curl.php) & [tidy_parse_string](http://www.php.net/manual/en/tidy.parsestring.php) are recommended. +## twig +poche now uses twig for templating. You have to install twig. + +Install composer in your project : +```bash +curl -s http://getcomposer.org/installer | php +``` +Install via composer : +```bash +php composer.phar install +``` + +If you don't want to install twig by yourself, you can download [this file](http://static.inthepoche.com/files/poche-1.0-latest-with-twig.zip). + ## storage in sqlite You have to install [sqlite for php](http://www.php.net/manual/en/book.sqlite.php) on your server. @@ -30,16 +44,7 @@ Execute /install/mysql.sql file in your database. ## storage in postgres Execute /install/postgres.sql file in your database. -Install composer in your project : -```bash -curl -s http://getcomposer.org/installer | php -``` -Install via composer : -```bash -php composer.phar install -``` - -## updating from poche 0.3 +## upgrading from poche <= 0.3 With poche <= 0.3, all your datas were stored in a sqlite file. The structure of this file changed. You have to execute http://yourpoche/install/update_sqlite_from_0_to_1.php before using this new version. -- 2.41.0