diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-10-08 09:39:07 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-10-08 09:39:07 +0200 |
commit | ba69216853b25f747591740fb039491692c1f76e (patch) | |
tree | 33ea7de25d294a809ca3afbd4ed4c3866cbfa689 /docs/en/developer/redis.rst | |
parent | 3049afe190d125e4861059b6bbad7c6fbea6f1bb (diff) | |
download | wallabag-ba69216853b25f747591740fb039491692c1f76e.tar.gz wallabag-ba69216853b25f747591740fb039491692c1f76e.tar.zst wallabag-ba69216853b25f747591740fb039491692c1f76e.zip |
Set env to prod in documentation
Diffstat (limited to 'docs/en/developer/redis.rst')
-rw-r--r-- | docs/en/developer/redis.rst | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/en/developer/redis.rst b/docs/en/developer/redis.rst index 820a52e9..005d6e4f 100644 --- a/docs/en/developer/redis.rst +++ b/docs/en/developer/redis.rst | |||
@@ -44,28 +44,28 @@ Depending on which service you want to import from you need to enable one (or ma | |||
44 | .. code:: bash | 44 | .. code:: bash |
45 | 45 | ||
46 | # for Pocket import | 46 | # for Pocket import |
47 | bin/console wallabag:import:redis-worker pocket -vv >> /path/to/wallabag/var/logs/redis-pocket.log | 47 | bin/console wallabag:import:redis-worker -e=prod pocket -vv >> /path/to/wallabag/var/logs/redis-pocket.log |
48 | 48 | ||
49 | # for Readability import | 49 | # for Readability import |
50 | bin/console wallabag:import:redis-worker readability -vv >> /path/to/wallabag/var/logs/redis-readability.log | 50 | bin/console wallabag:import:redis-worker -e=prod readability -vv >> /path/to/wallabag/var/logs/redis-readability.log |
51 | 51 | ||
52 | # for Instapaper import | 52 | # for Instapaper import |
53 | bin/console wallabag:import:redis-worker instapaper -vv >> /path/to/wallabag/var/logs/redis-instapaper.log | 53 | bin/console wallabag:import:redis-worker -e=prod instapaper -vv >> /path/to/wallabag/var/logs/redis-instapaper.log |
54 | 54 | ||
55 | # for wallabag v1 import | 55 | # for wallabag v1 import |
56 | bin/console wallabag:import:redis-worker wallabag_v1 -vv >> /path/to/wallabag/var/logs/redis-wallabag_v1.log | 56 | bin/console wallabag:import:redis-worker -e=prod wallabag_v1 -vv >> /path/to/wallabag/var/logs/redis-wallabag_v1.log |
57 | 57 | ||
58 | # for wallabag v2 import | 58 | # for wallabag v2 import |
59 | bin/console wallabag:import:redis-worker wallabag_v2 -vv >> /path/to/wallabag/var/logs/redis-wallabag_v2.log | 59 | bin/console wallabag:import:redis-worker -e=prod wallabag_v2 -vv >> /path/to/wallabag/var/logs/redis-wallabag_v2.log |
60 | 60 | ||
61 | # for Firefox import | 61 | # for Firefox import |
62 | bin/console wallabag:import:redis-worker firefox -vv >> /path/to/wallabag/var/logs/redis-firefox.log | 62 | bin/console wallabag:import:redis-worker -e=prod firefox -vv >> /path/to/wallabag/var/logs/redis-firefox.log |
63 | 63 | ||
64 | # for Chrome import | 64 | # for Chrome import |
65 | bin/console wallabag:import:redis-worker instapaper -vv >> /path/to/wallabag/var/logs/redis-chrome.log | 65 | bin/console wallabag:import:redis-worker -e=prod instapaper -vv >> /path/to/wallabag/var/logs/redis-chrome.log |
66 | 66 | ||
67 | If you want to launch the import only for some messages and not all, you can specify this number (here 12) and the worker will stop right after the 12th message : | 67 | If you want to launch the import only for some messages and not all, you can specify this number (here 12) and the worker will stop right after the 12th message : |
68 | 68 | ||
69 | .. code:: bash | 69 | .. code:: bash |
70 | 70 | ||
71 | bin/console wallabag:import:redis-worker pocket -vv --maxIterations=12 | 71 | bin/console wallabag:import:redis-worker -e=prod pocket -vv --maxIterations=12 |