-
Notifications
You must be signed in to change notification settings - Fork 2
AYS-415 | Environment config files added for production & development and used … #74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AYS-415 | Environment config files added for production & development and used … #74
Conversation
…for unvisible to EmergencyForm component
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
şu an sadece TEST ve PROD ortamı ayrımı olacağı için iki farklı .env dosyasına ihtiyaç yok. tek .env dosyası içinde yapılınabilir.
showEmergency çok abstract bir isimlendirme olmuş o daha açıklayıcı olabilir
showEmergencyForm ismi uygunsa bunu verebilirim, ek olarak önden hazırlanmış olması için prod env eklemiştim kalkması zorunlu ise silebilirim dosyayı, dönüşünüze göre düzenleyebilirim, teşekkürler. |
2 dosyanın olmaması şu an için daha uygun. onun yerine .env.example dosyasına sadece ortamın test olup olmadığını belirten bir variable eklenmeli. showEmergencyForm daha uygun evet |
key değerini değiştirip env.production'ı sildim. |
2 dosyanın da olmaması şu an için daha uygun. onun yerine .env.example dosyasına sadece ortamın test olup olmadığını belirten bir variable eklenmeli. ona göre form gösterilmemeli veya gösterilmeli |
env.example da yapılan tanımlamalar okunmuyor gibi görünüyor, onu da kaldırıp sadece env.development olması uygun mudur? |
hayır ekstra bir env dosyasına ihtiyacımız yok. example dosyası example olduğu için oradan okumaz. .env dosyasına ve .env.example dosyasına test olduğunu belirten bi variable ekleyeceğiz. okuması gereken yer zaten .env dosyası olacak. variable ismi next conventionlarına uygun olacak ve TESTING_ENV ile bitebilir. ticketı yanlış hatırlamıyosam true ise form gözükücek. |
.env file'a key ekleyip kullandım, TESTING_ENV='test' yapmak gerekiyorsa tekrar düzenleyebilirim. |
eline sağlık, ama bi kaç eksik nokta var ben düzenleyeceğim, sonra istersen konuşabiliriz yaptığım değişiklikleri |
…for unvisible to EmergencyForm component
Checklist
Before submitting your pull request, ensure the following:
Change Type:
Bug fix
Feature addition
Documentation update
Performance improvement
Other (please specify)
Summary:
Title and Branch Naming Conventions:
standard: Pull Request Naming Conventions.
the Branch Naming Conventions.
Local Testing:
Code Quality:
Documentation:
Reviewers and Assignees:
Related Issue:
Labels and Associations: