Commit d1726b367ce9bb38d74801f98841a5f744f330c7
Committed by
Sergio Oliveira
1 parent
279aa412
Translate user documentation.
Signed-off-by: Thiago Ribeiro <thiagitosouza@hotmail.com>
Showing
1 changed file
with
9 additions
and
13 deletions
Show diff stats
docs/source/user.rst
| @@ -20,19 +20,15 @@ Trac | @@ -20,19 +20,15 @@ Trac | ||
| 20 | ++++ | 20 | ++++ |
| 21 | 21 | ||
| 22 | 22 | ||
| 23 | -Dado que o Trac ja está instalado : | 23 | +Since Trac already installed: |
| 24 | 24 | ||
| 25 | -- Vocẽ pode instalá-lo facilmente da seguinte maneira: | 25 | +- Easily, you can install it as follows: |
| 26 | 26 | ||
| 27 | .. code-block:: sh | 27 | .. code-block:: sh |
| 28 | 28 | ||
| 29 | $ pip install trac | 29 | $ pip install trac |
| 30 | 30 | ||
| 31 | -Para ativar o plugin do Trac deve-se primeiramente configurar o banco de dados | ||
| 32 | -do trac em: | ||
| 33 | - | ||
| 34 | -1. vim /etc/colab/settings.yml | ||
| 35 | - | 31 | +To enable Trac plugin must first configure the trac database in /etc/colab/settings.yml: |
| 36 | 32 | ||
| 37 | .. code-block:: yaml | 33 | .. code-block:: yaml |
| 38 | 34 | ||
| @@ -50,7 +46,7 @@ do trac em: | @@ -50,7 +46,7 @@ do trac em: | ||
| 50 | USER: colab | 46 | USER: colab |
| 51 | PASSWORD: colab | 47 | PASSWORD: colab |
| 52 | 48 | ||
| 53 | -2. Ainda no mesmo arquivo descomentar o Trac em PROXIED_APPS | 49 | +- Yet this file uncomment in PROXIED_APPS the Trac: |
| 54 | 50 | ||
| 55 | .. code-block:: yaml | 51 | .. code-block:: yaml |
| 56 | 52 | ||
| @@ -61,27 +57,27 @@ do trac em: | @@ -61,27 +57,27 @@ do trac em: | ||
| 61 | trac: | 57 | trac: |
| 62 | upstream: 'http://localhost:5000/trac/' | 58 | upstream: 'http://localhost:5000/trac/' |
| 63 | 59 | ||
| 64 | -3. Criar o banco de dados no postgresql com usuário colab | 60 | +- Create the database in postgresql with user |
| 65 | 61 | ||
| 66 | .. code-block:: sh | 62 | .. code-block:: sh |
| 67 | 63 | ||
| 68 | $ sudo -u postgres psql | 64 | $ sudo -u postgres psql |
| 69 | $ create database trac owner colab; | 65 | $ create database trac owner colab; |
| 70 | 66 | ||
| 71 | -4. Agora você deve gerar as migrações do trac | 67 | +- Now, generate the migrations: |
| 72 | 68 | ||
| 73 | .. code-block:: sh | 69 | .. code-block:: sh |
| 74 | 70 | ||
| 75 | - # Dado que você está na pasta do colab | 71 | + # Since you are in the folder colab |
| 76 | $ workon colab | 72 | $ workon colab |
| 77 | $ colab-admin makemigrations trac | 73 | $ colab-admin makemigrations trac |
| 78 | $ colab-admin migrate | 74 | $ colab-admin migrate |
| 79 | 75 | ||
| 80 | -5. Por fim basta importar os dados do trac ( pode levar algumtempo ). | 76 | +- Finally, just import the Trac data (may take a few minutes): |
| 81 | 77 | ||
| 82 | .. code-block:: sh | 78 | .. code-block:: sh |
| 83 | 79 | ||
| 84 | - # Dado que você está na pasta do colab | 80 | + # Since you are in the folder colab |
| 85 | $ colab-admin import_proxy_data | 81 | $ colab-admin import_proxy_data |
| 86 | 82 | ||
| 87 | Settings | 83 | Settings |