1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-17 14:45:06 -05:00
Go to file
Nicolas Lœuillet bee952c687 [add] htaccess
2014-01-09 14:26:58 +01:00
app [add] get one entry with the API 2014-01-09 09:57:18 +01:00
src/Poche [fix] getEntryById now returns an array with one element 2014-01-09 09:56:46 +01:00
tests [add] test for getEntryById 2014-01-09 09:57:37 +01:00
vendor/full-text-rss Add full-text-rss lib 2013-12-10 16:19:15 +01:00
web [add] htaccess 2014-01-09 14:26:58 +01:00
.gitignore Update gitignore 2013-12-10 16:19:32 +01:00
.travis.yml Launch phpunit on travis 2013-11-23 00:17:39 +01:00
composer.json [add] preparing to poche a new link 2013-11-27 14:10:31 +01:00
console Reorganise files 2013-11-22 15:01:46 +01:00
LICENSE Add LICENSE file 2013-11-21 10:00:00 +01:00
phpunit.xml Use specific bootstrap file for functional tests 2013-11-24 11:27:49 +01:00
README.md Add build status image 2013-11-23 10:45:29 +01:00

Poche v2 Build Status

This is a Proof of Concept of Poche v2 using the PHP micro-framework Silex.

Installation

Get Composer and install Silex:

curl -s http://getcomposer.org/installer | php
php composer.phar install

Then configure your webserver to point to the web/ directory. Some documentation is available on the Silex documentation page.

If you are using PHP 5.4 you can run Poche v2 by using the embedded webserver:

php -S localhost:8080 -t web web/index.php

Poche should now be running at http://localhost:8080.

Then you should initialize your database by running:

./console db:create

Test

For unit tests (using Atoum) use:

./console tests:unit

For functional tests you'll need phpunit:

phpunit