diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2019-06-24 07:31:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-24 07:31:25 +0200 |
commit | ac4fda6ae9dbe4abcff3bedc214b4b6a2c171050 (patch) | |
tree | 0fb4060f07b0549eb3eeb527d006c61f82e1ae2d /.github | |
parent | bd6a7622d339c76c45d10bd5d942fe9bebe0f56a (diff) | |
parent | 2a61e13fae4e71c804e96caefd3fdb46f09a81db (diff) | |
download | wallabag-ac4fda6ae9dbe4abcff3bedc214b4b6a2c171050.tar.gz wallabag-ac4fda6ae9dbe4abcff3bedc214b4b6a2c171050.tar.zst wallabag-ac4fda6ae9dbe4abcff3bedc214b4b6a2c171050.zip |
Merge pull request #4021 from wallabag/doc/improve-contributing
Improve CONTRIBUTING guide
Diffstat (limited to '.github')
-rw-r--r-- | .github/CONTRIBUTING.md | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 920f1905..d5599206 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md | |||
@@ -1,11 +1,41 @@ | |||
1 | # How to contribute | 1 | # How to contribute |
2 | 2 | ||
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 | |||
11 | You'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 | |||
17 | You can now access your wallabag instance using that url: `http://127.0.0.1:8000` | ||
18 | |||
19 | If 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 | |||
31 | You can now access your wallabag instance using that url: `http://127.0.0.1:8000` | ||
32 | |||
3 | ## You found a bug | 33 | ## You found a bug |
4 | Please [open a new issue](https://github.com/wallabag/wallabag/issues/new). | 34 | Please [open a new issue](https://github.com/wallabag/wallabag/issues/new). |
5 | 35 | ||
6 | To fix the bug quickly, we need some infos: please answer to the questions in the issue form. | 36 | To fix the bug quickly, we need some infos: please answer to the questions in the issue form. |
7 | 37 | ||
8 | If you have the skills, look for errors into php, server and application (see `var/logs`) logs. | 38 | If you have the skills, look for errors into PHP, server and application logs (see `var/logs`). |
9 | 39 | ||
10 | Note : If you have large portions of text, use [Github's Gist service](https://gist.github.com/) or other pastebin-like. | 40 | Note : If you have large portions of text, use [Github's Gist service](https://gist.github.com/) or other pastebin-like. |
11 | 41 | ||