]> git.immae.eu Git - github/wallabag/wallabag.git/blame - .github/CONTRIBUTING.md
Merge pull request #4438 from wallabag/dependabot/composer/scheb/two-factor-bundle...
[github/wallabag/wallabag.git] / .github / CONTRIBUTING.md
CommitLineData
230fa05e 1# How to contribute
20ced8a8 2
2a61e13f
JB
3## Test it locally
4
5### Using Docker
6
7- Clone the repository
8- Ensure your Docker daemon is running
9- Launch `docker-compose up`
10
11You'll then have:
12- a web server (nginx)
13- a PHP daemon (using FPM)
14- a Redis database (to handle imports)
15- a SQLite database to store articles
16
17You can now access your wallabag instance using that url: `http://127.0.0.1:8000`
18
19If you want to test using an other database than SQLite, uncomment the `postgres` or `mariadb` code from the `docker-compose.yml` file at the root of the repo. Also uncomment related line in the `php` section so the database will be linked to your PHP instance.
20
21### Using your own PHP server
22
23- Ensure you are running PHP > 7.1.
24- Clone the repository
25- Launch `composer install`
26- If you got some errors, fix them (they might be related to some missing PHP extension from your machine)
27- Then `php bin/console wallabag:install`
28- If you got some errors, fix them (they might be related to some missing PHP extension from your machine)
29- Run `php bin/console server:run`
30
31You can now access your wallabag instance using that url: `http://127.0.0.1:8000`
32
b6680244 33## You found a bug
26170f46 34Please [open a new issue](https://github.com/wallabag/wallabag/issues/new).
b6680244 35
953305e9 36To fix the bug quickly, we need some infos: please answer to the questions in the issue form.
f034640c 37
2a61e13f 38If you have the skills, look for errors into PHP, server and application logs (see `var/logs`).
f034640c 39
40Note : If you have large portions of text, use [Github's Gist service](https://gist.github.com/) or other pastebin-like.
b6680244
NL
41
42## You want to fix a bug or to add a feature
953305e9 43Please fork wallabag and work with **the master branch**.