diff options
-rw-r--r-- | INSTALL.md | 25 |
1 files changed, 15 insertions, 10 deletions
@@ -19,6 +19,20 @@ poche must have write access on assets, cache and db directories. | |||
19 | 19 | ||
20 | [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. | 20 | [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. |
21 | 21 | ||
22 | ## twig | ||
23 | poche now uses twig for templating. You have to install twig. | ||
24 | |||
25 | Install composer in your project : | ||
26 | ```bash | ||
27 | curl -s http://getcomposer.org/installer | php | ||
28 | ``` | ||
29 | Install via composer : | ||
30 | ```bash | ||
31 | php composer.phar install | ||
32 | ``` | ||
33 | |||
34 | 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). | ||
35 | |||
22 | ## storage in sqlite | 36 | ## storage in sqlite |
23 | You have to install [sqlite for php](http://www.php.net/manual/en/book.sqlite.php) on your server. | 37 | You have to install [sqlite for php](http://www.php.net/manual/en/book.sqlite.php) on your server. |
24 | 38 | ||
@@ -30,16 +44,7 @@ Execute /install/mysql.sql file in your database. | |||
30 | ## storage in postgres | 44 | ## storage in postgres |
31 | Execute /install/postgres.sql file in your database. | 45 | Execute /install/postgres.sql file in your database. |
32 | 46 | ||
33 | Install composer in your project : | 47 | ## upgrading from poche <= 0.3 |
34 | ```bash | ||
35 | curl -s http://getcomposer.org/installer | php | ||
36 | ``` | ||
37 | Install via composer : | ||
38 | ```bash | ||
39 | php composer.phar install | ||
40 | ``` | ||
41 | |||
42 | ## updating from poche 0.3 | ||
43 | With poche <= 0.3, all your datas were stored in a sqlite file. The structure of this file changed. | 48 | With poche <= 0.3, all your datas were stored in a sqlite file. The structure of this file changed. |
44 | 49 | ||
45 | You have to execute http://yourpoche/install/update_sqlite_from_0_to_1.php before using this new version. | 50 | You have to execute http://yourpoche/install/update_sqlite_from_0_to_1.php before using this new version. |