Installation should be launch manually

Also upadte readme for v2 and define a test database (for the future)
This commit is contained in:
Jeremy 2015-02-02 07:48:13 +01:00
parent 2e45e7bebc
commit c5772d118f
5 changed files with 34 additions and 7 deletions

2
.gitignore vendored
View file

@ -35,4 +35,4 @@
# Data for wallabag # Data for wallabag
data/assets/* data/assets/*
data/db/poche.sqlite data/db/poche*.sqlite

View file

@ -1,9 +1,22 @@
# what is wallabag ? # 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. 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
```
## License ## License
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 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. terms of the MIT License. See the COPYING file for more details.

View file

@ -12,6 +12,17 @@
<arg value="--no-interaction"/> <arg value="--no-interaction"/>
<arg value="--working-dir=.."/> <arg value="--working-dir=.."/>
</exec> </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"> <exec executable="php">
<arg value="${basedir}/../app/console"/> <arg value="${basedir}/../app/console"/>
<arg value="cache:clear"/> <arg value="cache:clear"/>

View file

@ -14,3 +14,7 @@ web_profiler:
swiftmailer: swiftmailer:
disable_delivery: true disable_delivery: true
doctrine:
dbal:
path: %kernel.root_dir%/../data/db/poche_test.sqlite

View file

@ -92,8 +92,7 @@
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap", "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache", "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets", "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile", "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
"app/console wallabag:install --no-interaction"
], ],
"post-update-cmd": [ "post-update-cmd": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters", "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
@ -112,7 +111,7 @@
} }
}, },
"autoload": { "autoload": {
"psr-0": { "": "src/", "SymfonyStandard": "app/" } "psr-0": { "": "src/" }
}, },
"config": { "config": {
"bin-dir": "bin" "bin-dir": "bin"