Skip to content

Conversation

@onurgu
Copy link
Member

@onurgu onurgu commented Jul 30, 2020

No description provided.

Copy link
Member Author

@onurgu onurgu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Buna bir bakabilir misin?

aslında bu bir work-in-progress ama requirements.txt'teki zaten otomatik yüklenen şeyleri kaldırdım. sadeleşti.

requirements-phase1 ve phase2 docker compose ile ilgili

@haozturk

@haozturk
Copy link
Collaborator

Requirement dosyaları değiştiği için webapp'i çalıştırmak için gereken adımları anlatan şu README'yi de update etmemiz gerekir mi sence? @onurgu

@uskudarli
Copy link
Member

Gerekiyor olmasi @haozturk.

Su anda testleri yaparken bastan sona temiz kurulum ile ilerlemeli. Aradaki tum puruzleri de gidermeye calisalim.
Model'i open access yapacagiz. O da yine bir degisiklik yaratacak README de.

@haozturk
Copy link
Collaborator

haozturk commented Jul 30, 2020

Evet hocam, modeli open access yaptıktan sonra başka bir PR'da README'yi update'leriz. @uskudarli

@ulgens
Copy link

ulgens commented Jul 30, 2020

@onurgu Selam, phase 1 - phase2 durumu yerine poetry ya da pipenv gibi bi alet daha iyi sonuç verebilir gibi orada. Okay dersek, docker configini ona göre güncelleyebilirim.

@@ -0,0 +1,22 @@
FROM python:3
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Projenin spesifik olarak beklediği ya da sorun çıkardığı bir Python sürümü var mı?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Valla tam emin değilim ama 3 olsun demiştim


COPY kanarya_config.json /etc/

COPY . /game_project/
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bunu komple kopyalamak yerine volume olarak bağlasak, yeniden derlemeden güncelleme şansı olur.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

olabilir bakarız

COPY requirements-phase2.txt /game_project/
RUN pip install -r requirements-phase2.txt

RUN python manage.py migrate --noinput
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ben bunu dışarıdan kullanıcıya bırakmayı tercih ediyorum. Otomatik yapınca, yayına alma ya da farklı kullanıcıların farklı branchlerde farklı migrationlarla çalışma durumlarına beklenmedik sonuçlar çıkabiliyor.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Migrate'i mi diyorsun?

@onurgu
Copy link
Member Author

onurgu commented Jul 30, 2020

Requirement dosyaları değiştiği için webapp'i çalıştırmak için gereken adımları anlatan şu README'yi de update etmemiz gerekir mi sence? @onurgu

evet gerekir, bu PR WIP olsun zaten. her şey uyumlu olunca merge ederiz

herkese yorumları için teşekkürler. bir daha ihtiyaç duyduğumda haberdar ederim

@haozturk haozturk changed the title Merge the tiny dockerization work into master WIP: Merge the tiny dockerization work into master Jul 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants