aboutsummaryrefslogtreecommitdiffhomepage
path: root/INSTALL.md
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-08 09:36:10 -0700
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-08 09:36:10 -0700
commit9a8b4ff4edf84d7df60de1b6fd1e493b59f88273 (patch)
tree3c8ab8086fd8a2750270f8aeaee1f1ce016167cb /INSTALL.md
parent85ebc80c7eaf88e4d57a52adb8e4c32d8cc34b64 (diff)
parent572e758bf2e76308a3fa3eda9a8d9e9be8b53ecc (diff)
downloadwallabag-9a8b4ff4edf84d7df60de1b6fd1e493b59f88273.tar.gz
wallabag-9a8b4ff4edf84d7df60de1b6fd1e493b59f88273.tar.zst
wallabag-9a8b4ff4edf84d7df60de1b6fd1e493b59f88273.zip
Merge pull request #109 from inthepoche/dev
merge dev into master
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md53
1 files changed, 53 insertions, 0 deletions
diff --git a/INSTALL.md b/INSTALL.md
new file mode 100644
index 00000000..cf027282
--- /dev/null
+++ b/INSTALL.md
@@ -0,0 +1,53 @@
1# Installing poche
2
3Get the [latest dev version](https://github.com/inthepoche/poche/archive/dev.zip) of poche on github. Unzip it and upload it on your server.
4
5your datas can be stored on sqlite, postgres or mysql databases.
6
7Edit /inc/poche/config.inc.php :
8
9```php
10define ('STORAGE','sqlite'); # postgres, mysql, sqlite
11define ('STORAGE_SERVER', 'localhost'); # leave blank for sqlite
12define ('STORAGE_DB', 'poche'); # only for postgres & mysql
13define ('STORAGE_SQLITE', './db/poche.sqlite');
14define ('STORAGE_USER', 'user'); # leave blank for sqlite
15define ('STORAGE_PASSWORD', 'pass'); # leave blank for sqlite
16```
17
18poche must have write access on assets, cache and db directories.
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.
21
22## twig
23poche now uses twig for templating. You have to install twig.
24
25Install composer in your project :
26```bash
27curl -s http://getcomposer.org/installer | php
28```
29Install via composer :
30```bash
31php composer.phar install
32```
33
34If 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
36## storage in sqlite
37You have to install [sqlite for php](http://www.php.net/manual/en/book.sqlite.php) on your server.
38
39Copy /install/poche.sqlite in /db
40
41## storage in mysql
42Execute /install/mysql.sql file in your database.
43
44## storage in postgres
45Execute /install/postgres.sql file in your database.
46
47## upgrading from poche <= 0.3
48With poche <= 0.3, all your datas were stored in a sqlite file. The structure of this file changed.
49
50You have to execute http://yourpoche/install/update_sqlite_from_0_to_1.php before using this new version.
51
52## installing poche
53you can go on your poche http://yourpoche. You have to fill the fields and that's all ! \ No newline at end of file