|
1 | 1 |
|
2 | | -# Thoth 2.0 |
| 2 | +# Thoth 2.0 |
3 | 3 | [](https://badgen.net/packagist/lang/monolog/monolog) |
4 | 4 | [](https://badgen.net/badge/php/%3E8.1/green) |
5 | 5 |
|
6 | | -Ferramenta de Revisão Sistemática da Literatura |
| 6 | +Systematic Literature Review Tool |
7 | 7 |
|
8 | | -## Tecnologias e Ferramentas |
| 8 | +## Technologies and Tools |
9 | 9 | <img src="https://camo.githubusercontent.com/85b8858163097e34c31ef8eeda533e1fa18be0ec8ce58f494b6b5cedc2f27196/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c61726176656c2d2532334646324432302e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d6c61726176656c266c6f676f436f6c6f723d7768697465" /><img src="https://img.shields.io/badge/PHP-777BB4?style=for-the-badge&logo=php&logoColor=white" /><img src="https://img.shields.io/badge/HTML5-E34F26?style=for-the-badge&logo=html5&logoColor=white" /><img src="https://img.shields.io/badge/JavaScript-323330?style=for-the-badge&logo=javascript&logoColor=F7DF1E" /><img src="https://img.shields.io/badge/json-5E5C5C?style=for-the-badge&logo=json&logoColor=white" /><img src="https://img.shields.io/badge/Vue.js-35495E?style=for-the-badge&logo=vuedotjs&logoColor=4FC08D" /><img src="https://img.shields.io/badge/Docker-2CA5E0?style=for-the-badge&logo=docker&logoColor=white" /><img src="https://img.shields.io/badge/Bootstrap-563D7C?style=for-the-badge&logo=bootstrap&logoColor=white" /><img src="https://img.shields.io/badge/Git-F05032?style=for-the-badge&logo=git&logoColor=white" /><img src="https://img.shields.io/badge/Chart.js-FF6384?style=for-the-badge&logo=chartdotjs&logoColor=white" /><img src="https://img.shields.io/badge/Webpack-8DD6F9?style=for-the-badge&logo=Webpack&logoColor=white" /> |
10 | 10 |
|
11 | | -### Entendendo a Estrutura do framework |
| 11 | +### Understanding the Framework Structure |
12 | 12 | 1. Laravel DOC - https://laravel.com/docs/10.x |
13 | | -2. Entendendo a estrutura - https://www.youtube.com/watch?v=zN0gAqOcxsk |
| 13 | +2. Understanding the structure - https://www.youtube.com/watch?v=zN0gAqOcxsk |
14 | 14 |
|
15 | | -### Template Bootstrap Sugerido |
16 | | -Informações de como usar os elementos do template |
| 15 | +### Suggested Bootstrap Template |
| 16 | +Information on how to use the template elements |
17 | 17 | https://argon-dashboard-laravel.creative-tim.com/docs/bootstrap/overview/argon-dashboard/ |
18 | 18 |
|
| 19 | +## Step-by-Step Initial Setup |
19 | 20 |
|
20 | | -## Passo a passo para Configuração inicial |
21 | | - |
22 | | --Ter o Docker Desktop instalado: |
| 21 | +- Have Docker Desktop installed: |
23 | 22 | https://www.docker.com/products/docker-desktop/ |
24 | 23 |
|
25 | | -- Na sua IDE de desenvolvimento (PHP Storm, VSCode ou outra de sua preferência) |
| 24 | +- In your development IDE (PHP Storm, VSCode, or another of your preference) |
26 | 25 |
|
27 | | -Clone Repositório |
| 26 | +Clone the Repository |
28 | 27 | ```sh |
29 | 28 | git clone -b https://github.com/Thoth2023/thoth-remake.git |
30 | 29 | ``` |
31 | | -Crie o Arquivo .env |
| 30 | +Create the .env File |
32 | 31 | ```sh |
33 | 32 | cp .env.example .env |
34 | 33 | ``` |
35 | | -Suba os containers do projeto |
| 34 | +Start the Project Containers |
36 | 35 | ```sh |
37 | 36 | docker-compose up -d |
38 | 37 | ``` |
39 | | -Acesse o container app |
| 38 | +Access the App Container |
40 | 39 | ```sh |
41 | 40 | docker-compose exec app bash |
42 | 41 | ``` |
43 | | -Instale as dependências do projeto |
| 42 | +Install Project Dependencies |
44 | 43 | ```sh |
45 | 44 | composer install |
46 | 45 | ``` |
47 | | -Se der algum erro na instalação das dependências |
| 46 | +If there are any errors during dependency installation |
48 | 47 | ```sh |
49 | 48 | composer update |
50 | 49 | ``` |
51 | 50 |
|
52 | | -Gere a key do projeto Laravel |
| 51 | +Generate the Laravel Project Key |
53 | 52 | ```sh |
54 | 53 | php artisan key:generate |
55 | 54 | ``` |
56 | 55 |
|
57 | | -Para popular o Banco de Dados |
| 56 | +To Populate the Database |
58 | 57 | ```sh |
59 | 58 | php artisan migrate --seed |
60 | 59 | ``` |
61 | 60 | ```sh |
62 | | -Para desenvolvimento, crie uma nova branche a partir de "Develop" |
| 61 | +For development, create a new branch from "Develop" |
63 | 62 | ``` |
64 | 63 |
|
65 | | -## Acesse o projeto |
| 64 | +## Access the Project |
66 | 65 | [http://localhost:8989](http://localhost:8989) |
67 | 66 |
|
68 | 67 |
|
69 | 68 |
|
70 | | -## Atalhos com Make |
| 69 | +## Make Shortcuts |
71 | 70 | ```bash |
72 | | -#Iniciar o Docker em segundo plano |
| 71 | +# Start Docker in the Background |
73 | 72 | up: |
74 | 73 | docker-compose up -d |
75 | 74 |
|
76 | | -# Desliga os containers |
| 75 | +# Shut Down the Containers |
77 | 76 | down: |
78 | 77 | docker-compose down |
79 | 78 |
|
80 | | -# Reinicia os containers |
| 79 | +# Restart the Containers |
81 | 80 | restart: |
82 | 81 | docker-compose restart |
83 | 82 |
|
84 | | -# Mostra logs |
| 83 | +# Show Logs |
85 | 84 | logs: |
86 | 85 | docker-compose logs -f |
87 | 86 |
|
88 | | -# Mostra status dos containers e todos os containers |
| 87 | +# Show Container Status and All Containers |
89 | 88 | ps: |
90 | 89 | docker-compose ps -a |
91 | 90 |
|
92 | | -# Dentro do container, instala as dependências do composer e gera a chave(Para acessar o container use o comando: docker-compose exec app bash) |
| 91 | +# Inside the Container, Install Composer Dependencies and Generate the Key (To access the container, use the command: docker-compose exec app bash) |
93 | 92 | setup: |
94 | 93 | composer install || composer update |
95 | 94 | php artisan key:generate |
96 | 95 | php artisan migrate --seed |
97 | 96 | ``` |
98 | 97 |
|
99 | | -Se preciso, acesse https://www.gnu.org/software/make/ para mais detalhes |
| 98 | +If needed, visit https://www.gnu.org/software/make/ for more details. |
| 99 | + |
| 100 | +To use make: |
100 | 101 |
|
101 | | -Para utilizar o make: |
102 | | -1. Acesse o diretório do projeto |
103 | | -2. Abra o terminal/console |
104 | | -3. Digite make (comando) |
| 102 | +- Access the project directory |
| 103 | +- Open the terminal/console |
| 104 | +- Type make (command) |
105 | 105 |
|
106 | | -Exemplo: Para listar os containers execute |
| 106 | +Example: To list the containers, run |
107 | 107 |
|
108 | 108 | ```bash |
109 | 109 | make ps |
110 | 110 | ``` |
111 | | -Para instalar as dependências do projeto você pode acessar o container com |
| 111 | +To install the project dependencies, you can access the container with |
112 | 112 | ```bash |
113 | 113 | docker-compose exec app bash |
114 | 114 | ``` |
115 | | -E dentro do container execute |
| 115 | +And inside the container, run |
116 | 116 | ```bash |
117 | 117 | make setup |
118 | 118 | ``` |
119 | 119 |
|
120 | | -## Acesse o projeto |
| 120 | +## Access the Project |
121 | 121 | [http://localhost:8989](http://localhost:8989) |
0 commit comments