Skip to content

Commit

Permalink
revert composer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Lobz committed Apr 9, 2024
1 parent 7559e4d commit f458ec4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ Para instalar uma nova plataforma notaR, siga os seguintes passos (nota: alguns
4. Rode o script ```deploy.sh```
5. Gere uma chave e registre ela no seu ```.env```:
```
docker exec -t notar-app-1 php artisan key:generate
docker exec -t notar_app_1 php artisan key:generate
```
6. Crie o novo banco de dados:
```
docker exec -t notar-app-1 php artisan migrate
docker exec -t notar_app_1 php artisan migrate
```
7. Crie um usuário admin com login [email protected]:
```
docker exec -t notar-app-1 php artisan migrate:admin novasenha
docker exec -t notar_app_1 php artisan migrate:admin novasenha
```

## Licença de uso
Expand Down
8 changes: 4 additions & 4 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
git pull
docker compose down
docker compose build
docker compose up -d
docker exec -t notar-app-1 ./docker-deploy.sh
docker-compose down
docker-compose build
docker-compose up -d
docker exec -t notar_app_1 ./docker-deploy.sh
4 changes: 2 additions & 2 deletions update.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
docker exec notar-app-1 composer update
docker exec notar-app-1 npm update
docker exec notar_app_1 composer update
docker exec notar_app_1 npm update
./deploy.sh
echo "Lembre de testar as funcionalidades principais antes de subir essas mudanças para o repositório!!"

0 comments on commit f458ec4

Please sign in to comment.