diff options
-rw-r--r-- | README.md | 7 | ||||
-rwxr-xr-x[-rw-r--r--] | bin/console | 0 | ||||
-rw-r--r-- | phpunit.xml.dist | 14 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Command/InstallCommand.php | 3 |
4 files changed, 11 insertions, 13 deletions
@@ -16,12 +16,11 @@ If you don't have it yet, please [install composer](https://getcomposer.org/down | |||
16 | 16 | ||
17 | ``` | 17 | ``` |
18 | composer create-project wallabag/wallabag wallabag 2.0.0-alpha.1 | 18 | composer create-project wallabag/wallabag wallabag 2.0.0-alpha.1 |
19 | cd wallabag | 19 | php bin/console wallabag:install |
20 | php app/console wallabag:install | 20 | php bin/console server:run |
21 | php app/console server:run | ||
22 | ``` | 21 | ``` |
23 | 22 | ||
24 | ## License | 23 | ## License |
25 | Copyright © 2013-2015 Nicolas Lœuillet <nicolas@loeuillet.org> | 24 | Copyright © 2013-2016 Nicolas Lœuillet <nicolas@loeuillet.org> |
26 | This work is free. You can redistribute it and/or modify it under the | 25 | This work is free. You can redistribute it and/or modify it under the |
27 | terms of the MIT License. See the COPYING file for more details. | 26 | terms of the MIT License. See the COPYING file for more details. |
diff --git a/bin/console b/bin/console index 49247c94..49247c94 100644..100755 --- a/bin/console +++ b/bin/console | |||
diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 0e8cc8eb..e68df9de 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist | |||
@@ -14,22 +14,22 @@ | |||
14 | 14 | ||
15 | <testsuites> | 15 | <testsuites> |
16 | <testsuite name="wallabag Test Suite"> | 16 | <testsuite name="wallabag Test Suite"> |
17 | <directory>./src/Wallabag/*Bundle/Tests</directory> | 17 | <directory>src/Wallabag/*Bundle/Tests</directory> |
18 | </testsuite> | 18 | </testsuite> |
19 | </testsuites> | 19 | </testsuites> |
20 | 20 | ||
21 | <php> | 21 | <php> |
22 | <server name="KERNEL_DIR" value="./app/" /> | 22 | <server name="KERNEL_DIR" value="app/" /> |
23 | </php> | 23 | </php> |
24 | 24 | ||
25 | <filter> | 25 | <filter> |
26 | <whitelist> | 26 | <whitelist> |
27 | <directory>./src</directory> | 27 | <directory>src</directory> |
28 | <exclude> | 28 | <exclude> |
29 | <directory>./vendor</directory> | 29 | <directory>vendor</directory> |
30 | <directory>./src/Wallabag/*Bundle/Resources</directory> | 30 | <directory>src/Wallabag/*Bundle/Resources</directory> |
31 | <directory>./src/Wallabag/*Bundle/Tests</directory> | 31 | <directory>src/Wallabag/*Bundle/Tests</directory> |
32 | <directory>./src/Wallabag/*Bundle/DataFixtures</directory> | 32 | <directory>src/Wallabag/*Bundle/DataFixtures</directory> |
33 | </exclude> | 33 | </exclude> |
34 | </whitelist> | 34 | </whitelist> |
35 | </filter> | 35 | </filter> |
diff --git a/src/Wallabag/CoreBundle/Command/InstallCommand.php b/src/Wallabag/CoreBundle/Command/InstallCommand.php index 941cb8cd..da099a19 100644 --- a/src/Wallabag/CoreBundle/Command/InstallCommand.php +++ b/src/Wallabag/CoreBundle/Command/InstallCommand.php | |||
@@ -12,7 +12,6 @@ use Symfony\Component\Console\Output\OutputInterface; | |||
12 | use Symfony\Component\Console\Question\ConfirmationQuestion; | 12 | use Symfony\Component\Console\Question\ConfirmationQuestion; |
13 | use Symfony\Component\Console\Question\Question; | 13 | use Symfony\Component\Console\Question\Question; |
14 | use Wallabag\CoreBundle\Entity\Config; | 14 | use Wallabag\CoreBundle\Entity\Config; |
15 | use Wallabag\UserBundle\Entity\User; | ||
16 | 15 | ||
17 | class InstallCommand extends ContainerAwareCommand | 16 | class InstallCommand extends ContainerAwareCommand |
18 | { | 17 | { |
@@ -56,7 +55,7 @@ class InstallCommand extends ContainerAwareCommand | |||
56 | ; | 55 | ; |
57 | 56 | ||
58 | $output->writeln('<info>Wallabag has been successfully installed.</info>'); | 57 | $output->writeln('<info>Wallabag has been successfully installed.</info>'); |
59 | $output->writeln('<comment>Just execute `php app/console server:run` for using wallabag: http://localhost:8000</comment>'); | 58 | $output->writeln('<comment>Just execute `php bin/console server:run` for using wallabag: http://localhost:8000</comment>'); |
60 | } | 59 | } |
61 | 60 | ||
62 | protected function checkRequirements() | 61 | protected function checkRequirements() |