Skip to content

Commit

Permalink
actualizo doc
Browse files Browse the repository at this point in the history
  • Loading branch information
mpvaldez committed Oct 21, 2024
1 parent 35c07e7 commit 1fcfba8
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MONGODB_URL=mongodb://localhost:27017
MONGODB_NAME=bien-restituido
JWT_SECRET=mySecretPassword!
MONGODB_TEST_URI=mongodb://localhost:27017/bien-restituido-test

ADMIN_MAIL=[email protected]
ADMIN_USERNAME=adminuser
ADMIN_PASS=123123

S3_UPLOAD_KEY=
S3_UPLOAD_SECRET=
S3_UPLOAD_BUCKET=
S3_UPLOAD_REGION=

MAILER_HOST=
MAILER_PORT=
MAILER_USER=
MAILER_PASSWORD=

NEXT_PUBLIC_URL_APP=http://localhost:3000
NEXT_PUBLIC_AUTH_TOKENS_KEY=RES_AUTH
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ Bien Restituido es un proyecto desarrollado para el desmantelamiento patrimonial

## ⚒️ Guía de instalación y ejecución

> Configuración inicial:
>
> - Copiá el archivo `.env.example` en uno nuevo `.env.local`
> - Completá los valores de las variables
Hay 2 maneras de preparar el entorno para desarrollo. A través de Docker, o configurando el entorno de Node

### Docker
Expand Down Expand Up @@ -54,7 +59,7 @@ $ npm run dev

## Estructura del Proyecto

```ruby
```bash
bien-restituido/
├── public/ # Archivos estáticos
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ services:
volumes:
- .:/usr/src/app
- /usr/src/app/.next
- /usr/src/app/node_modules
env_file:
- .env.local
links:
Expand Down

0 comments on commit 1fcfba8

Please sign in to comment.