Skip to content

Commit

Permalink
Merge pull request #86 from ufabc-next/feat/run-locally
Browse files Browse the repository at this point in the history
Better local setup
  • Loading branch information
Joabesv authored Aug 5, 2024
2 parents 658265f + c760ae9 commit aef3215
Show file tree
Hide file tree
Showing 19 changed files with 7,408 additions and 4,074 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,4 @@ build

.gitsecret/keys/random_seed
tmp
.env.dev
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,13 @@ pnpm build
docker compose up -d

# Realize a copia das variaveis de ambiente para o arquivo .env
cp -r apps/core/.env.example apps/core/.env
cp -r apps/core/.env.example apps/core/.env.dev

# De `start` no projeto
pnpm dev

# Simule o projeto com dados
# Depreciado, nao ira funcionar
pnpm populate reset
```

Expand Down
34 changes: 0 additions & 34 deletions apps/core/.env.dev

This file was deleted.

2 changes: 1 addition & 1 deletion apps/core/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ REDIS_HOST="0.0.0.0"
REDIS_PORT=6379

# Mongodb
MONGODB_CONNECTION_URL="mongodb://127.0.0.1:27017/"
MONGODB_CONNECTION_URL="mongodb://127.0.0.1:27017/local"

# Special env to dictate the node behavior
NODE_OPTIONS="--no-warnings=ExperimentalWarning --import=tsx"
Expand Down
Loading

0 comments on commit aef3215

Please sign in to comment.