Also upadte readme for v2 and define a test database (for the future)
# Data for wallabag
data/assets/*
# Data for wallabag
data/assets/*
-data/db/poche.sqlite
\ No newline at end of file
-# what is wallabag ?
-wallabag 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.
+# What is wallabag ?
+wallabag 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.
More informations on our website: [wallabag.org](http://wallabag.org)
More informations on our website: [wallabag.org](http://wallabag.org)
+# Want to test the v2 ?
+
+Keep in mind it's an **instable** branch, everything can be broken :)
+
+```
+git clone https://github.com/wallabag/wallabag.git -b refactor
+cd wallabag
+composer install
+php app/console wallabag:install
+php app/console server:run
+```
+
-Copyright © 2013-2014 Nicolas Lœuillet <nicolas@loeuillet.org>
+Copyright © 2013-2015 Nicolas Lœuillet <nicolas@loeuillet.org>
This work is free. You can redistribute it and/or modify it under the
terms of the MIT License. See the COPYING file for more details.
This work is free. You can redistribute it and/or modify it under the
terms of the MIT License. See the COPYING file for more details.
<arg value="--no-interaction"/>
<arg value="--working-dir=.."/>
</exec>
<arg value="--no-interaction"/>
<arg value="--working-dir=.."/>
</exec>
+ <exec executable="php">
+ <arg value="${basedir}/../app/console"/>
+ <arg value="doctrine:database:drop"/>
+ <arg value="--force"/>
+ <arg value="--env=test"/>
+ </exec>
+ <exec executable="php">
+ <arg value="${basedir}/../app/console"/>
+ <arg value="doctrine:database:create"/>
+ <arg value="--env=test"/>
+ </exec>
<exec executable="php">
<arg value="${basedir}/../app/console"/>
<arg value="cache:clear"/>
<exec executable="php">
<arg value="${basedir}/../app/console"/>
<arg value="cache:clear"/>
swiftmailer:
disable_delivery: true
swiftmailer:
disable_delivery: true
+
+doctrine:
+ dbal:
+ path: %kernel.root_dir%/../data/db/poche_test.sqlite
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
- "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
- "app/console wallabag:install --no-interaction"
+ "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
],
"post-update-cmd": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
],
"post-update-cmd": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
- "psr-0": { "": "src/", "SymfonyStandard": "app/" }
+ "psr-0": { "": "src/" }
},
"config": {
"bin-dir": "bin"
},
"config": {
"bin-dir": "bin"