1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-12-18 05:32:23 -05:00
wallabag/README.md

29 lines
788 B
Markdown
Raw Normal View History

2013-11-21 03:59:19 -05:00
# Poche v2
2013-11-21 08:52:08 -05:00
This is a Proof of Concept of Poche v2 using the PHP micro-framework [Silex](http://silex.sensiolabs.org).
2013-11-21 03:59:19 -05:00
# Installation
Get Composer and install Silex:
2013-11-21 04:00:35 -05:00
curl -s http://getcomposer.org/installer | php
php composer.phar install
2013-11-21 03:59:19 -05:00
Then configure your webserver to point to the `web/` directory. Some documentation is available on the [Silex documentation page](http://silex.sensiolabs.org/doc/web_servers.html).
If you are using PHP 5.4 you can run Poche v2 by using the embedded webserver:
2013-11-21 04:00:35 -05:00
php -S localhost:8080 -t web web/index.php
2013-11-21 03:59:19 -05:00
Poche should now be running at [http://localhost:8080](http://localhost:8080).
2013-11-21 14:26:22 -05:00
2013-11-21 16:44:41 -05:00
Then you should initialize your database by running:
./console db:create
2013-11-21 14:26:22 -05:00
# Test
To run the test suite just use:
./console tests:unit