]> git.immae.eu Git - github/wallabag/wallabag.git/blame_incremental - INSTALL.md
upgrading README
[github/wallabag/wallabag.git] / INSTALL.md
... / ...
CommitLineData
1# Installing poche
2
3## you don't want to install twig (the template engine) by yourself
4
5Download this file http://static.inthepoche.com/files/poche-1.0-latest-with-twig.zip
6
7Extract this file on your server.
8
9## you want to install twig by yourself
10
11Download the latest version here : http://www.inthepoche.com/?pages/T%C3%A9l%C3%A9charger-poche
12
13Extract this file on your server.
14
15```php
16curl -s http://getcomposer.org/installer | php
17php composer.phar install
18```
19
20### using sqlite
21
22Copy / paste install/poche.sqlite in db folder.
23
24### using mysql or postgresql
25
26Execute the sql file in /install (mysql.sql or postgres.sql)
27
28Then, go to step 3.
29
30# Upgrading poche
31
32Replace all the files except **db/poche.sqlite**. Also remember to edit the file /inc/poche/config.inc.php.
33
34## Upgrading from poche <= 0.3
35
36You have to execute http://yourpoche/install/update_sqlite_from_0_to_1.php
37
38Then, go to step 3.
39
40## Upgrading from poche >= 1.0 beta1
41
42Nothing to do here.
43
44Then, go to step 3.
45
46# Here is the step 3
47
48You must have write access on assets, cache and db directories. These directories may not exist, you'll have to create them.
49
50You can use poche ! Enjoy.
51
52# Some problems you may encounter
53
54## Blank page
55
56Be sure to have write access on assets, cache and db directories.
57
58## PHP Fatal error: Call to a member function fetchAll() on a non-object in /var/www/poche/inc/poche/Database.class.php on line 42
59
60If you want to install poche, delete the db/poche.sqlite file and copy / paste the install/poche.sqlite in /db. Be sure to have write access.