aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/en/developer
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-10-08 09:39:07 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-10-08 09:39:07 +0200
commitba69216853b25f747591740fb039491692c1f76e (patch)
tree33ea7de25d294a809ca3afbd4ed4c3866cbfa689 /docs/en/developer
parent3049afe190d125e4861059b6bbad7c6fbea6f1bb (diff)
downloadwallabag-ba69216853b25f747591740fb039491692c1f76e.tar.gz
wallabag-ba69216853b25f747591740fb039491692c1f76e.tar.zst
wallabag-ba69216853b25f747591740fb039491692c1f76e.zip
Set env to prod in documentation
Diffstat (limited to 'docs/en/developer')
-rw-r--r--docs/en/developer/maintenance.rst4
-rw-r--r--docs/en/developer/rabbitmq.rst14
-rw-r--r--docs/en/developer/redis.rst16
3 files changed, 17 insertions, 17 deletions
diff --git a/docs/en/developer/maintenance.rst b/docs/en/developer/maintenance.rst
index 8277fb1f..6d55ed60 100644
--- a/docs/en/developer/maintenance.rst
+++ b/docs/en/developer/maintenance.rst
@@ -11,7 +11,7 @@ To enable maintenance mode, execute this command:
11 11
12:: 12::
13 13
14 bin/console lexik:maintenance:lock --no-interaction 14 bin/console lexik:maintenance:lock --no-interaction -e=prod
15 15
16You can set your IP address in ``app/config/config.yml`` if you want to access to wallabag even if maintenance mode is enabled. For example: 16You can set your IP address in ``app/config/config.yml`` if you want to access to wallabag even if maintenance mode is enabled. For example:
17 17
@@ -29,4 +29,4 @@ To disable maintenance mode, execute this command:
29 29
30:: 30::
31 31
32 bin/console lexik:maintenance:unlock 32 bin/console lexik:maintenance:unlock -e=prod
diff --git a/docs/en/developer/rabbitmq.rst b/docs/en/developer/rabbitmq.rst
index 63b85106..ca0b0f3a 100644
--- a/docs/en/developer/rabbitmq.rst
+++ b/docs/en/developer/rabbitmq.rst
@@ -55,22 +55,22 @@ Depending on which service you want to import from you need to enable one (or ma
55.. code:: bash 55.. code:: bash
56 56
57 # for Pocket import 57 # for Pocket import
58 bin/console rabbitmq:consumer import_pocket -w 58 bin/console rabbitmq:consumer -e=prod import_pocket -w
59 59
60 # for Readability import 60 # for Readability import
61 bin/console rabbitmq:consumer import_readability -w 61 bin/console rabbitmq:consumer -e=prod import_readability -w
62 62
63 # for Instapaper import 63 # for Instapaper import
64 bin/console rabbitmq:consumer import_instapaper -w 64 bin/console rabbitmq:consumer -e=prod import_instapaper -w
65 65
66 # for wallabag v1 import 66 # for wallabag v1 import
67 bin/console rabbitmq:consumer import_wallabag_v1 -w 67 bin/console rabbitmq:consumer -e=prod import_wallabag_v1 -w
68 68
69 # for wallabag v2 import 69 # for wallabag v2 import
70 bin/console rabbitmq:consumer import_wallabag_v2 -w 70 bin/console rabbitmq:consumer -e=prod import_wallabag_v2 -w
71 71
72 # for Firefox import 72 # for Firefox import
73 bin/console rabbitmq:consumer import_firefox -w 73 bin/console rabbitmq:consumer -e=prod import_firefox -w
74 74
75 # for Chrome import 75 # for Chrome import
76 bin/console rabbitmq:consumer import_chrome -w 76 bin/console rabbitmq:consumer -e=prod import_chrome -w
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
67If 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 : 67If 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