3 Get the [latest twig version](https://github.com/inthepoche/poche/archive/twig.zip) of poche on github. Unzip it and upload it on your server.
5 your datas can be stored on sqlite, postgres or mysql databases.
7 Edit /inc/poche/config.inc.php :
10 define ('STORAGE','sqlite'); # postgres, mysql, sqlite
11 define ('STORAGE_SERVER', 'localhost'); # leave blank for sqlite
12 define ('STORAGE_DB', 'poche'); # only for postgres & mysql
13 define ('STORAGE_SQLITE', './db/poche.sqlite');
14 define ('STORAGE_USER', 'user'); # leave blank for sqlite
15 define ('STORAGE_PASSWORD', 'pass'); # leave blank for sqlite
18 poche must have write access on assets, cache and db directories.
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.
23 You have to install [sqlite for php](http://www.php.net/manual/en/book.sqlite.php) on your server.
25 Copy /install/poche.sqlite in /db
28 Execute /install/mysql.sql file in your database.
30 ## storage in postgres
31 Execute /install/postgres.sql file in your database.
33 Install composer in your project :
35 curl -s http://getcomposer.org/installer | php
37 Install via composer :
39 php composer.phar install
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.
45 You have to execute http://yourpoche/install/update_sqlite_from_0_to_1.php before using this new version.
47 That's all, you can use poche !