-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
05fbcdb
commit a272b0f
Showing
1 changed file
with
63 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,63 @@ | ||
# Amigo_Secreto | ||
# Amigo Secreto | ||
|
||
|
||
 | ||
|
||
## Requisitos | ||
|
||
- PHP >= 8.2 | ||
- Composer | ||
- Laravel >= 8.x | ||
- Banco de Dados (MySQL) | ||
|
||
## Instalação | ||
|
||
1. **Clone o repositório**: | ||
|
||
```bash | ||
git clone https://github.com/rodrigoribeiro027/Amigo_Secreto | ||
cd Amigo_Secreto | ||
``` | ||
|
||
2. **Instale as dependências**: | ||
|
||
```bash | ||
composer install | ||
``` | ||
|
||
3. **Configure o arquivo `.env`**: | ||
|
||
Copie o arquivo `.env.example` para `.env` e configure as variáveis de ambiente, especialmente as configurações do banco de dados: | ||
|
||
```bash | ||
cp .env.example .env | ||
``` | ||
|
||
Atualize as variáveis de banco de dados no arquivo `.env`: | ||
|
||
```plaintext | ||
DB_CONNECTION=mysql | ||
DB_HOST=127.0.0.1 | ||
DB_PORT=3306 | ||
DB_DATABASE=nome_do_banco | ||
DB_USERNAME=seu_usuario | ||
DB_PASSWORD=sua_senha | ||
``` | ||
|
||
|
||
4. **Execute as migrações**: | ||
|
||
```bash | ||
php artisan migrate | ||
``` | ||
|
||
## Inicializando o Projeto | ||
|
||
Para iniciar o servidor de desenvolvimento do Laravel, execute: | ||
|
||
```bash | ||
php artisan serve | ||
``` | ||
|
||
|
||
A aplicação estará disponível em [http://localhost:8000](http://localhost:8000). |