diff --git a/INSTALL.md b/INSTALL.md index bbac44b..fd34f69 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.