Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 801 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 801 Bytes

musahit-harita-backend

Proje Hakkinda

architecture

Projenin localde kaldirilmasi icin asagidaki adimlar izlenmelidir.

Gereksinimler

  • Docker
  • Docker Compose
  • Go 1.20

Calistirma

  1. Docker compose ile uygulama ayaga kaldirilir. Her seferinde temiz bir ortam olusturmaktan emin olmak icin --build --remove-orphans --force-recreate parametreleri asagidaki komuta eklenebilir (container'lara ait varolan veriler silinmez).
docker-compose up
  1. env dosyasi olusturulur sisteme gore degiskenler eklenir. DB_CONNECTION_STRING=postgres://postgres:postgres@localhost:5432/postgres REDIS_HOST=localhost:6379 REDIS_PASSWORD=eYVX7EwVmmxKPCDmwMtyKVge8oLd2t81

  2. api klasorune girilir ve asagidaki komutlar calistirilir.

go run .