mirego / accent

The first developer-oriented translation tool. True asynchronous flow between translators and your team.
https://www.accent.reviews
BSD 3-Clause "New" or "Revised" License
1.29k stars 97 forks source link

Unable to run application, no clear error #438

Open faridrb opened 6 months ago

faridrb commented 6 months ago

When I try to run using make dev-start-application, the application just stops immediately with the following logs:

Running migrations for accent… ** (EXIT from #PID<0.98.0>) shutdown

How do I resolve this issue?

Tried this both on an ARM MacBook Pro as on an AWS x86 EC2 instance, same issue.

JulioFerrero commented 5 months ago

Same issue here! m1 pro in my case

edit: Fixed by changing the docker-compose.yml with de DB password as follows:

version: '3.7' services: application: container_name: accent build: . ports:

  • 4000:4000 depends_on:
  • postgresql environment:
  • PORT=4000
  • DATABASE_URL=postgres://postgres:password@postgresql:5432/accent_development
  • DUMMY_LOGIN_ENABLED=1 postgresql: image: postgres:15.6 container_name: accent-postgres environment:
  • POSTGRES_DB=accent_development
  • POSTGRES_PASSWORD=password ports:
  • 5432:5432 volumes:
  • accent_psql:/var/lib/postgresql/data volumes: accent_psql: