Atualizar Guia de Instalação
@@ -17,8 +17,7 @@ Antes de começar, certifique-se de que a máquina possui:
|
|||||||
Execute o comando abaixo no terminal da máquina de destino:
|
Execute o comando abaixo no terminal da máquina de destino:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
TOKEN=ghp_xxx DOCKER_USER=usuario DOCKER_PASS=dckr_pat_xxx \
|
bash <(curl -fsSL "https://git.seventh.com.br/seventh.p7/attendance-system.install/raw/branch/main/install.sh")
|
||||||
bash <(curl -fsSL https://raw.githubusercontent.com/renatoramosseventh/attendancesystem-deploy/main/install.sh)
|
|
||||||
```
|
```
|
||||||
|
|
||||||
O instalador irá:
|
O instalador irá:
|
||||||
@@ -36,13 +35,12 @@ Se preferir configurar manualmente:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# 1. Clone o repositório
|
# 1. Clone o repositório
|
||||||
git clone https://github.com/renatoramosseventh/attendancesystem-deploy
|
git clone https://git.seventh.com.br/seventh.p7/attendance-system.install.git
|
||||||
attendancesystem
|
attendance-system.install
|
||||||
cd attendancesystem
|
cd attendance-system.install
|
||||||
|
|
||||||
# 2. Edite as configurações
|
# 2. Edite as configurações
|
||||||
nano .env.prod # ajuste IPs e portas
|
nano .env.prod # ajuste IPs e portas
|
||||||
nano .env.registry # credenciais Docker Hub (já preenchido pelo install.sh)
|
|
||||||
|
|
||||||
# 3. Suba o ambiente
|
# 3. Suba o ambiente
|
||||||
make install
|
make install
|
||||||
|
|||||||
Reference in New Issue
Block a user