aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeremy <jeremy.benoist@gmail.com>2015-02-02 07:48:13 +0100
committerJeremy <jeremy.benoist@gmail.com>2015-02-02 07:48:16 +0100
commitc5772d118fec5d5b0504c08266abcfaa21228119 (patch)
treeae0d211580922d0f274a570c2df1008be4132d6a
parent2e45e7bebcdf4e3d990f965bf04a9051343168a4 (diff)
downloadwallabag-c5772d118fec5d5b0504c08266abcfaa21228119.tar.gz
wallabag-c5772d118fec5d5b0504c08266abcfaa21228119.tar.zst
wallabag-c5772d118fec5d5b0504c08266abcfaa21228119.zip
Installation should be launch manually
Also upadte readme for v2 and define a test database (for the future)
-rw-r--r--.gitignore2
-rw-r--r--README.md19
-rw-r--r--app/build.xml11
-rw-r--r--app/config/config_test.yml4
-rw-r--r--composer.json5
5 files changed, 34 insertions, 7 deletions
diff --git a/.gitignore b/.gitignore
index 64831800..3fbe668c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -35,4 +35,4 @@
35 35
36# Data for wallabag 36# Data for wallabag
37data/assets/* 37data/assets/*
38data/db/poche.sqlite \ No newline at end of file 38data/db/poche*.sqlite
diff --git a/README.md b/README.md
index 38866f7a..13e730c9 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,22 @@
1# what is wallabag ? 1# What is wallabag ?
2wallabag is a self hostable application allowing you to not miss any content anymore. Click, save, read it when you can. It extracts content so that you can read it when you have time. 2wallabag is a self hostable application allowing you to not miss any content anymore.
3Click, save, read it when you can. It extracts content so that you can read it when you have time.
3 4
4More informations on our website: [wallabag.org](http://wallabag.org) 5More informations on our website: [wallabag.org](http://wallabag.org)
5 6
7# Want to test the v2 ?
8
9Keep in mind it's an **instable** branch, everything can be broken :)
10
11```
12git clone https://github.com/wallabag/wallabag.git -b refactor
13cd wallabag
14composer install
15php app/console wallabag:install
16php app/console server:run
17```
18
6## License 19## License
7Copyright © 2013-2014 Nicolas Lœuillet <nicolas@loeuillet.org> 20Copyright © 2013-2015 Nicolas Lœuillet <nicolas@loeuillet.org>
8This work is free. You can redistribute it and/or modify it under the 21This work is free. You can redistribute it and/or modify it under the
9terms of the MIT License. See the COPYING file for more details. 22terms of the MIT License. See the COPYING file for more details.
diff --git a/app/build.xml b/app/build.xml
index b3f4c13a..5300af04 100644
--- a/app/build.xml
+++ b/app/build.xml
@@ -14,6 +14,17 @@
14 </exec> 14 </exec>
15 <exec executable="php"> 15 <exec executable="php">
16 <arg value="${basedir}/../app/console"/> 16 <arg value="${basedir}/../app/console"/>
17 <arg value="doctrine:database:drop"/>
18 <arg value="--force"/>
19 <arg value="--env=test"/>
20 </exec>
21 <exec executable="php">
22 <arg value="${basedir}/../app/console"/>
23 <arg value="doctrine:database:create"/>
24 <arg value="--env=test"/>
25 </exec>
26 <exec executable="php">
27 <arg value="${basedir}/../app/console"/>
17 <arg value="cache:clear"/> 28 <arg value="cache:clear"/>
18 <arg value="--env=test"/> 29 <arg value="--env=test"/>
19 </exec> 30 </exec>
diff --git a/app/config/config_test.yml b/app/config/config_test.yml
index 2f6d9250..83e2922a 100644
--- a/app/config/config_test.yml
+++ b/app/config/config_test.yml
@@ -14,3 +14,7 @@ web_profiler:
14 14
15swiftmailer: 15swiftmailer:
16 disable_delivery: true 16 disable_delivery: true
17
18doctrine:
19 dbal:
20 path: %kernel.root_dir%/../data/db/poche_test.sqlite
diff --git a/composer.json b/composer.json
index 2b22d6bd..8771ea90 100644
--- a/composer.json
+++ b/composer.json
@@ -92,8 +92,7 @@
92 "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap", 92 "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
93 "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache", 93 "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
94 "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets", 94 "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
95 "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile", 95 "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
96 "app/console wallabag:install --no-interaction"
97 ], 96 ],
98 "post-update-cmd": [ 97 "post-update-cmd": [
99 "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters", 98 "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
@@ -112,7 +111,7 @@
112 } 111 }
113 }, 112 },
114 "autoload": { 113 "autoload": {
115 "psr-0": { "": "src/", "SymfonyStandard": "app/" } 114 "psr-0": { "": "src/" }
116 }, 115 },
117 "config": { 116 "config": {
118 "bin-dir": "bin" 117 "bin-dir": "bin"