1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-12-18 05:32:23 -05:00
Go to file
2013-11-22 16:25:37 +01:00
app Add EntryApi as a Service 2013-11-22 16:25:37 +01:00
src/Poche Add EntryApi as a Service 2013-11-22 16:25:37 +01:00
tests Test to check that the token is properly generated 2013-11-21 23:02:33 +01:00
web Move controllers in a dedicated directory 2013-11-22 15:03:25 +01:00
.gitignore Import poche v2 schema 2013-11-21 22:44:41 +01:00
.travis.yml Add travis config 2013-11-21 23:10:50 +01:00
composer.json Import poche v2 schema 2013-11-21 22:44:41 +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
README.md Import poche v2 schema 2013-11-21 22:44:41 +01:00

Poche v2

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

To run the test suite just use:

./console tests:unit