-
Notifications
You must be signed in to change notification settings - Fork 2
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
Showing
3 changed files
with
9 additions
and
9 deletions.
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 |
---|---|---|
|
@@ -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 | ||
|
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,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 |
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,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!!" |