diff options
author | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2016-10-08 10:33:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-08 10:33:52 +0200 |
commit | af4ce9e069b10b27332b2e211d1c032b5a9ffe2f (patch) | |
tree | 33ea7de25d294a809ca3afbd4ed4c3866cbfa689 | |
parent | 3049afe190d125e4861059b6bbad7c6fbea6f1bb (diff) | |
parent | ba69216853b25f747591740fb039491692c1f76e (diff) | |
download | wallabag-af4ce9e069b10b27332b2e211d1c032b5a9ffe2f.tar.gz wallabag-af4ce9e069b10b27332b2e211d1c032b5a9ffe2f.tar.zst wallabag-af4ce9e069b10b27332b2e211d1c032b5a9ffe2f.zip |
Merge pull request #2400 from wallabag/doc-env-prod
Set env to prod in documentation
-rw-r--r-- | docs/de/developer/maintenance.rst | 4 | ||||
-rw-r--r-- | docs/de/developer/rabbitmq.rst | 14 | ||||
-rw-r--r-- | docs/de/developer/redis.rst | 16 | ||||
-rw-r--r-- | docs/en/developer/maintenance.rst | 4 | ||||
-rw-r--r-- | docs/en/developer/rabbitmq.rst | 14 | ||||
-rw-r--r-- | docs/en/developer/redis.rst | 16 | ||||
-rw-r--r-- | docs/fr/developer/maintenance.rst | 4 | ||||
-rw-r--r-- | docs/fr/developer/rabbitmq.rst | 14 | ||||
-rw-r--r-- | docs/fr/developer/redis.rst | 16 |
9 files changed, 51 insertions, 51 deletions
diff --git a/docs/de/developer/maintenance.rst b/docs/de/developer/maintenance.rst index 2a9070e1..31343876 100644 --- a/docs/de/developer/maintenance.rst +++ b/docs/de/developer/maintenance.rst | |||
@@ -11,7 +11,7 @@ Um den Wartungsmodus zu aktivieren, führe folgendes Kommando aus: | |||
11 | 11 | ||
12 | :: | 12 | :: |
13 | 13 | ||
14 | bin/console lexik:maintenance:lock --no-interaction | 14 | bin/console lexik:maintenance:lock -e=prod --no-interaction |
15 | 15 | ||
16 | Du kannst deine IP Adresse in ``app/config/config.yml`` setzen, wenn du Zugriff zu wallabag haben willst, auch wenn der Wartungsmodus aktiv ist. Zum Beispiel: | 16 | Du kannst deine IP Adresse in ``app/config/config.yml`` setzen, wenn du Zugriff zu wallabag haben willst, auch wenn der Wartungsmodus aktiv ist. Zum Beispiel: |
17 | 17 | ||
@@ -29,4 +29,4 @@ Um den Wartungsmodus zu deaktivieren, führe dieses Kommando aus: | |||
29 | 29 | ||
30 | :: | 30 | :: |
31 | 31 | ||
32 | bin/console lexik:maintenance:unlock | 32 | bin/console lexik:maintenance:unlock -e=prod |
diff --git a/docs/de/developer/rabbitmq.rst b/docs/de/developer/rabbitmq.rst index bea02ff4..37e9984b 100644 --- a/docs/de/developer/rabbitmq.rst +++ b/docs/de/developer/rabbitmq.rst | |||
@@ -55,23 +55,23 @@ Abhängig von welchem Service du importieren möchtest, solltest du einen Cron J | |||
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 |
77 | 77 | ||
diff --git a/docs/de/developer/redis.rst b/docs/de/developer/redis.rst index d613ce6c..46334cf0 100644 --- a/docs/de/developer/redis.rst +++ b/docs/de/developer/redis.rst | |||
@@ -44,28 +44,28 @@ Abhängig von welchem Service du importieren möchtest, solltest du einen Cron J | |||
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 | Wenn du den Import nur für ein paar Nachrichten und nicht für alle starten willst, kannst du die Nummer (im folgenden Beispiel 12) angeben. Der Redis Worker wird dann nach der 12. Nachricht stoppen: | 67 | Wenn du den Import nur für ein paar Nachrichten und nicht für alle starten willst, kannst du die Nummer (im folgenden Beispiel 12) angeben. Der Redis Worker wird dann nach der 12. Nachricht stoppen: |
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 |
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 | ||
16 | You 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: | 16 | You 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 | ||
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 |
diff --git a/docs/fr/developer/maintenance.rst b/docs/fr/developer/maintenance.rst index 4ea8d01f..8007a85f 100644 --- a/docs/fr/developer/maintenance.rst +++ b/docs/fr/developer/maintenance.rst | |||
@@ -11,7 +11,7 @@ Pour activer le mode maintenance, exécutez cette commande : | |||
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 | ||
16 | Vous pouvez spécifier votre adresse IP dans ``app/config/config.yml`` si vous souhaitez accéder à wallabag même si | 16 | Vous pouvez spécifier votre adresse IP dans ``app/config/config.yml`` si vous souhaitez accéder à wallabag même si |
17 | le mode maintenance est activé. Par exemple : | 17 | le mode maintenance est activé. Par exemple : |
@@ -30,4 +30,4 @@ Pour désactiver le mode maintenance, exécutez cette commande : | |||
30 | 30 | ||
31 | :: | 31 | :: |
32 | 32 | ||
33 | bin/console lexik:maintenance:unlock | 33 | bin/console lexik:maintenance:unlock -e=prod |
diff --git a/docs/fr/developer/rabbitmq.rst b/docs/fr/developer/rabbitmq.rst index 20182e6e..771725a7 100644 --- a/docs/fr/developer/rabbitmq.rst +++ b/docs/fr/developer/rabbitmq.rst | |||
@@ -55,22 +55,22 @@ En fonction du service dont vous souhaitez importer vos données, vous devez act | |||
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/fr/developer/redis.rst b/docs/fr/developer/redis.rst index 097e375d..5557e7a8 100644 --- a/docs/fr/developer/redis.rst +++ b/docs/fr/developer/redis.rst | |||
@@ -44,28 +44,28 @@ En fonction du service dont vous souhaitez importer vos données, vous devez act | |||
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 | Si vous souhaitez démarrer l'import pour quelques messages uniquement, vous pouvez spécifier cette valeur en paramètre (ici 12) et le client va s'arrêter après le 12ème message : | 67 | Si vous souhaitez démarrer l'import pour quelques messages uniquement, vous pouvez spécifier cette valeur en paramètre (ici 12) et le client va s'arrêter après le 12ème 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 |